added check for .luks-device
This commit is contained in:
parent
89f912299c
commit
6d176ee718
@ -18,7 +18,7 @@ set_color -o green
|
||||
echo "Mounting luks container..."
|
||||
set_color normal
|
||||
ssh $SSH_OPT -t -i $KEY $USER@$REMOTE "
|
||||
if [ -d $REMOTE_PATH ]
|
||||
if [ -d $REMOTE_PATH -a -f .luks-device ]
|
||||
set_color -o green; echo \"backup already mounted!\"
|
||||
set_color normal
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user