Skip to content
Snippets Groups Projects
Commit 5621db48 authored by elijah's avatar elijah
Browse files

made source directory not found into warning instead of fatal

parent 5ab8f588
Branches
No related tags found
No related merge requests found
...@@ -78,7 +78,10 @@ function do_user() { ...@@ -78,7 +78,10 @@ function do_user() {
local letter=${user:0:1} local letter=${user:0:1}
local source="$srcdir/$letter/$user/" local source="$srcdir/$letter/$user/"
local target="$destdir/$letter/$user/$btype.1" 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" debug "syncing"
ret=`$RSYNC -e "ssh -p $destport" -r \ ret=`$RSYNC -e "ssh -p $destport" -r \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment