This commit is contained in:
Erik Foris 2021-01-06 20:31:20 +00:00
parent 1ea4ecbed3
commit 19d4566014

View File

@ -25,7 +25,7 @@ fi
if [ "$2" = "-e" ] if [ "$2" = "-e" ]
then then
sudo ls "$4" > /dev/null sudo ls "$4" > /dev/null
if [$? -gt 1] if [$? -gt 0]
then then
echo "key not fount creating key" echo "key not fount creating key"
sudo stenc -g 256 -k "$5" -kd "$6"; sudo stenc -g 256 -k "$5" -kd "$6";