idiosynkrasies with exit conditions
This commit is contained in:
@@ -24,8 +24,8 @@ fi
|
||||
|
||||
if [ "$2" = "-e" ]
|
||||
then
|
||||
ls "$4" > /dev/null
|
||||
if [$? -gt 0]
|
||||
sudo ls "$4" > /dev/null
|
||||
if [$? -gt 1]
|
||||
then
|
||||
echo "key not fount creating key"
|
||||
sudo stenc -g 256 -k "$5" -kd "$6";
|
||||
|
Reference in New Issue
Block a user