fixed bug
This commit is contained in:
parent
55393b96da
commit
0e6b022e03
@ -25,7 +25,7 @@ fi
|
||||
if [ "$2" = "-e" ]
|
||||
then
|
||||
sudo ls "$4" > /dev/null
|
||||
if [ $? -gt 0 ]
|
||||
if [ $? == 0 ]
|
||||
then
|
||||
echo "key fount using key"
|
||||
sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod
|
||||
|
Loading…
Reference in New Issue
Block a user