summaryrefslogtreecommitdiff
path: root/etc/common
diff options
context:
space:
mode:
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 &
}