diff options
Diffstat (limited to 'handlers/maildir')
-rw-r--r-- | handlers/maildir | 5 |
1 files changed, 4 insertions, 1 deletions
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 \ |