added check for .luks-device

master
Anton Lydike 3 years ago
parent 89f912299c
commit 6d176ee718

@ -18,7 +18,7 @@ set_color -o green
echo "Mounting luks container..." echo "Mounting luks container..."
set_color normal set_color normal
ssh $SSH_OPT -t -i $KEY $USER@$REMOTE " 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 -o green; echo \"backup already mounted!\"
set_color normal set_color normal
exit exit

Loading…
Cancel
Save