bugfix
[scripts/scripts.git] / backup.sh
index 08019f0..f9b0b52 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -244,7 +244,7 @@ fi
 
 
 # end! umounting nfs shared backup directory
-if [ "$mounted" = "0" ] ; then
+if [ "$mounted" = "1" ] ; then
        echo "umounting nfs backup - dir"
        cd $HOME && umount $local_mount
 fi