summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index 84ac2d6..e9ba4f0 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -158,7 +158,7 @@ SHRED="shred -f -z"
# END Platform definable
#
-program="$(basename "$0")"
+program="${0##*/}"
command="$1"
if is_command "$command"; then
shift