From: Elijah Saxon Date: Mon, 22 Jan 2007 21:35:52 +0000 (+0000) Subject: made source directory not found into warning instead of fatal X-Git-Tag: backupninja-0.9.5~45 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=5621db48e9a9319860d790ef06ad2d05f74eb0ac;p=matthijs%2Fupstream%2Fbackupninja.git made source directory not found into warning instead of fatal --- diff --git a/handlers/maildir b/handlers/maildir index b7c9b3e..49b2542 100644 --- a/handlers/maildir +++ b/handlers/maildir @@ -78,7 +78,10 @@ function do_user() { local letter=${user:0:1} local source="$srcdir/$letter/$user/" local target="$destdir/$letter/$user/$btype.1" - [ -d $source ] || fatal "maildir $source not found". + if [ ! -d $source ]; then + warning "maildir $source not found" + return + fi debug "syncing" ret=`$RSYNC -e "ssh -p $destport" -r \