From 54942d8cb4aebf7acdfcb60a4edd23f674393ddb Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 10 Oct 2010 22:42:21 +0200 Subject: ftpsync now closes stdin, not attaches to dev/null and pushes use ssh -f, not ssh ... & Signed-off-by: Joerg Jaspert --- etc/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/common b/etc/common index 5058f9e..4a8b2c5 100644 --- a/etc/common +++ b/etc/common @@ -93,7 +93,7 @@ signal () { # Default normal "fire and forget" push. We background that, we do not care about the mirrors doings echo "Sending normal push" >> "${LOGDIR}/${MIRROR}.log" PUSHARGS1="sync:all" - ssh $SSH_OPTIONS "${HOSTNAME}" "${PUSHARGS} ${PUSHARGS1}" >>"${LOGDIR}/${MIRROR}.log" 2>&1 & + ssh -f $SSH_OPTIONS "${HOSTNAME}" "${PUSHARGS} ${PUSHARGS1}" >>"${LOGDIR}/${MIRROR}.log" elif [ "xstagedx" = "x${PUSHTYPE}x" ] || [ "xmhopx" = "x${PUSHTYPE}x" ]; then # Want a staged push. Fine, lets do that. Not backgrounded. We care about the mirrors doings. echo "Sending staged push" >> "${LOGDIR}/${MIRROR}.log" -- cgit v1.2.3