aboutsummaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-01-26 23:52:24 +0100
committerKarel Kočí <cynerd@email.cz>2017-01-26 23:52:24 +0100
commit9c84e586948f12468ad36ea12fa9c94e54c9d909 (patch)
tree3a31afe44a50ec06e3d0cc7cccd68b83d8e1dbc9 /local
parent99e0e079f76be0b4a3180c3d6bce2e348a2d9122 (diff)
downloadmyconfigs-9c84e586948f12468ad36ea12fa9c94e54c9d909.tar.gz
myconfigs-9c84e586948f12468ad36ea12fa9c94e54c9d909.tar.bz2
myconfigs-9c84e586948f12468ad36ea12fa9c94e54c9d909.zip
Fix backup script
Diffstat (limited to 'local')
-rwxr-xr-xlocal/bin/system-backup2
1 files changed, 1 insertions, 1 deletions
diff --git a/local/bin/system-backup b/local/bin/system-backup
index fde63c4..c3957ab 100755
--- a/local/bin/system-backup
+++ b/local/bin/system-backup
@@ -63,7 +63,7 @@ done)
sync -f "$MPATH"/@"$MNAME"
umount "$MPATH" || (echo Unmount failed. Unmount by hand. && exit -5)
if $CRYPT; then
- cryptsetup close backup_enc || (echo Encryption close failed. Do by hand. && exit -6)
+ cryptsetup close backup || (echo Encryption close failed. Do by hand. && exit -6)
fi
# Store when we did last backup and update i3blocks status