X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=scripts%2Frestore-script.sh;h=c95b8400fbc9496f57f9b8c34dc6a852a7acf201;hb=585cc3075e523dabd02a5762188524ba3a530ebd;hp=d96176817295518405fc988df28599e74285259d;hpb=3e9e8de312085c5582d7c2b7034e9b7e8ff6d0e7;p=backups%2F.git 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) []