]> git.sesse.net Git - backup.sh/commitdiff
now run backups in parallell again
authorroot <empty>
Mon, 17 Dec 2007 19:14:03 +0000 (19:14 +0000)
committerroot <empty>
Mon, 17 Dec 2007 19:14:03 +0000 (19:14 +0000)
backup.sh

index 518190c7bd7a1da8bd50c0f2f61e44520a65ec12..73188a298006307316faa7509faf4694b313d77d 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -11,7 +11,7 @@ LOCKFILE=/home/backup/backuprun.lockfile
 # Initially, we consider everything to be just fine.
 R=0
 
-# Die gracefully (ie. remove lockfile)
+# Die more or less gracefully (at least notify user)
 die() {
        echo `date`": Something nasty happened, and since I fork a lot:"
         echo `date`": I CANNOT CLEAN UP THE MESS MYSELF."
@@ -284,8 +284,8 @@ do
        R=1
  fi
 
-)  
-done &
+) &
+done
 
 wait