From 19f5c09c814fc68a2f5cadcf116839ecbf5a80cf Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 28 Sep 2008 11:50:54 +0200 Subject: 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 --- etc/common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/common') 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 & } -- cgit v1.2.3