projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab8f58
)
made source directory not found into warning instead of fatal
author
Elijah Saxon
<elijah@riseup.net>
Mon, 22 Jan 2007 21:35:52 +0000
(21:35 +0000)
committer
Elijah Saxon
<elijah@riseup.net>
Mon, 22 Jan 2007 21:35:52 +0000
(21:35 +0000)
handlers/maildir
patch
|
blob
|
history
diff --git
a/handlers/maildir
b/handlers/maildir
index b7c9b3e1d02b519159048c534dce4b2cc43fa991..49b254217a25a62b2e245d05e01eaa1012cb3424 100644
(file)
--- 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 \