aboutsummaryrefslogtreecommitdiff
path: root/share/keyringer/append
diff options
context:
space:
mode:
Diffstat (limited to 'share/keyringer/append')
-rwxr-xr-xshare/keyringer/append2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/keyringer/append b/share/keyringer/append
index 81300e0..27211a6 100755
--- a/share/keyringer/append
+++ b/share/keyringer/append
@@ -15,7 +15,7 @@ IFS=$'\n'
CONTENT=($(keyringer_exec decrypt $BASEDIR $FILE))
-if [ "$1" = "append" ]; then
+if [ "$BASENAME" == "append" ]; then
# only display directions if we're running append, not append-batch
echo " "
echo "$FILE currently has ${#CONTENT[@]} lines"