diff --git a/do-plication b/do-plication index 14dd332..db4d2d4 100755 --- a/do-plication +++ b/do-plication @@ -27,11 +27,11 @@ if [ "$2" = "-e" ] sudo ls "$4" > /dev/null if [$? -gt 0] then - echo "key not fount creating key" - sudo stenc -g 256 -k "$5" -kd "$6"; + echo "key fount using key" sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod else - echo "key fount using key" + echo "key not fount creating key" + sudo stenc -g 256 -k "$5" -kd "$6"; sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod fi