From 9d5db5d4c07a96aef113e1963d8610ca58b7b2b6 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 17 Dec 2007 19:14:03 +0000 Subject: [PATCH] now run backups in parallell again --- backup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backup.sh b/backup.sh index 518190c..73188a2 100755 --- 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 -- 2.39.2