From: hackbard <hackbard>
Date: Thu, 6 Jan 2005 21:35:22 +0000 (+0000)
Subject: bugfix
X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00747ff24b54fac0e78ba99bec896dacb72cae55;p=scripts%2Fscripts.git

bugfix
---

diff --git a/backup.sh b/backup.sh
index 08019f0..f9b0b52 100755
--- 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