summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2009-05-02 23:36:42 +0200
committerJoerg Jaspert <joerg@debian.org>2009-05-02 23:36:42 +0200
commit3605785a54d4be0e4f93a9da3f12d11b4d8ff380 (patch)
treef3ee3be5b0440cd1c74cdb514c84462d002080ab /bin
parented46d30a24bbb68a67f5227e6570f9e8c61ee77a (diff)
also redirect stdin
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 1a0f23d..cdad637 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -342,7 +342,7 @@ fi
trap cleanup EXIT ERR TERM HUP INT QUIT
# Start log by redirecting everything there.
-exec >"$LOG" 2>&1
+exec >"$LOG" 2>&1 </dev/null
# Look who pushed us and note that in the log.
log "Mirrorsync start"