From 0e6b022e03702df5ecf51c2382061b780f9eb080 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 6 Jan 2021 20:44:07 +0000 Subject: [PATCH] fixed bug --- do-plication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/do-plication b/do-plication index 14c9eee..5cc5302 100755 --- a/do-plication +++ b/do-plication @@ -25,7 +25,7 @@ fi if [ "$2" = "-e" ] then sudo ls "$4" > /dev/null - if [ $? -gt 0 ] + if [ $? == 0 ] then echo "key fount using key" sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod