From: Carl N Baldwin <cnb@plane.localdomain>
Date: Wed, 30 Nov 2005 02:57:18 +0000 (-0700)
Subject: Oops, a silly little bug.
X-Git-Tag: release-0.4~4
X-Git-Url: http://git.pippins.net/%7Blink_hometeaching%7D?a=commitdiff_plain;h=585cc3075e523dabd02a5762188524ba3a530ebd;p=backups%2F.git

Oops, a silly little bug.
---

diff --git a/scripts/restore-script.sh b/scripts/restore-script.sh
index d961768..c95b840 100755
--- a/scripts/restore-script.sh
+++ b/scripts/restore-script.sh
@@ -12,7 +12,7 @@ function err() {
 
 export PATH=${rundir%/}:/bin:/usr/bin:/sbin:/usr/sbin:/sw/bin
 
-if [ ! -z "$1" -o ! -d "$2" ]; then
+if [ -z "$1" -o ! -d "$2" ]; then
   err "
 
 Usage: $(basename $0) <source-dir> <relocate-dir> [<mnt-dir>]