idiosynkrasies with exit conditions
This commit is contained in:
parent
688ccfa54d
commit
1ea4ecbed3
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user