chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wrapper for unicode(1) to examine each character in a word
[bin.git]
/
bsmtp-pull
diff --git
a/bsmtp-pull
b/bsmtp-pull
index 439bee284fc258cb84f0f6c2a85f189e30e28569..ebaee7ed7a652a2962456ab9756e907e40757cae 100755
(executable)
--- a/
bsmtp-pull
+++ b/
bsmtp-pull
@@
-24,6
+24,7
@@
lockfile-create "$HOST"
lockfile-touch "$HOST" &
TOUCH="$!"
trap 'kill "$TOUCH"; lockfile-remove "$HOST"' EXIT ERR HUP INT QUIT TERM
+disown %1
ssh -2 -i "$HOME/.ssh/id-bsmtp-$HOST" -C "$HOST" bsmtp-pull-server > "$HOST"
[ -s "$HOST" ] || exit 0