idiosynkrasies with exit conditions
This commit is contained in:
parent
688ccfa54d
commit
1ea4ecbed3
@ -24,8 +24,8 @@ fi
|
|||||||
|
|
||||||
if [ "$2" = "-e" ]
|
if [ "$2" = "-e" ]
|
||||||
then
|
then
|
||||||
ls "$4" > /dev/null
|
sudo ls "$4" > /dev/null
|
||||||
if [$? -gt 0]
|
if [$? -gt 1]
|
||||||
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user