]> hackdaworld.org Git - scripts/scripts.git/commitdiff
bugfix
authorhackbard <hackbard>
Thu, 6 Jan 2005 21:35:22 +0000 (21:35 +0000)
committerhackbard <hackbard>
Thu, 6 Jan 2005 21:35:22 +0000 (21:35 +0000)
backup.sh

index 08019f01c55c2e005fe6fc728e9c2c12d718dc78..f9b0b52bcef33f1e04f3ca8a309ce71bf18fdf58 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -244,7 +244,7 @@ fi
 
 
 # end! umounting nfs shared backup directory
 
 
 # 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
        echo "umounting nfs backup - dir"
        cd $HOME && umount $local_mount
 fi