diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-09-28 11:50:54 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-09-28 11:50:54 +0200 |
commit | 19f5c09c814fc68a2f5cadcf116839ecbf5a80cf (patch) | |
tree | 971da721b68b985c45b5fe49cbd36d6f13214df2 /etc/common | |
parent | 75d690ad884eda791eac64d41c878b37bbd12e5c (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/common | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 & } |