summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tool/secret-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/secret-tool.c b/tool/secret-tool.c
index f5508fd..5d95194 100644
--- a/tool/secret-tool.c
+++ b/tool/secret-tool.c
@@ -380,7 +380,7 @@ on_retrieve_secret (GObject *source_object,
part = strrchr (path, '/');
if (part == NULL)
part = path;
- g_print ("[%s]\n", path);
+ g_print ("[%s]\n", part);
} else {
g_print ("[no path]\n");
}