summaryrefslogtreecommitdiff
path: root/etc/common
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-09-28 11:50:54 +0200
committerJoerg Jaspert <joerg@debian.org>2008-09-28 11:50:54 +0200
commit19f5c09c814fc68a2f5cadcf116839ecbf5a80cf (patch)
tree971da721b68b985c45b5fe49cbd36d6f13214df2 /etc/common
parent75d690ad884eda791eac64d41c878b37bbd12e5c (diff)
Fixes
- Use $LOGDIR where we want the dir and not the file - use $LOG where we want the file. - use proper "" around variables where they have to be Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'etc/common')
-rw-r--r--etc/common3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/common b/etc/common
index 699481b..49b9b75 100644
--- a/etc/common
+++ b/etc/common
@@ -27,7 +27,8 @@ signal () {
fi
# Finally call ssh
- ssh $SSH_OPTIONS -i "$5" -o"user $3" -$4 "$2" sleep 1 >> ${LOG}/$1.log 2>&1 &
+ date -u >> ${LOGDIR}/$1.log
+ ssh $SSH_OPTIONS -i "$5" -o"user $3" -$4 "$2" sleep 1 >> ${LOGDIR}/$1.log 2>&1 &
}