When a command is executed, also standard error is logged with 2>&1

This commit is contained in:
Louwrentius 2009-01-11 19:23:52 +00:00
parent d79808ee42
commit adab297ce8
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ commando () {
log DEBUG "Skipping item $ITEM - already processed." # <-- disabled because of possible performance penalty. log DEBUG "Skipping item $ITEM - already processed." # <-- disabled because of possible performance penalty.
else else
#log DEBUG "Starting command on item $ITEM." # <-- disabled because of possible performance penalty. #log DEBUG "Starting command on item $ITEM." # <-- disabled because of possible performance penalty.
EXECME='$COMMAND"$ITEM" > "$JOB_LOG_DIR/$ITEM"' EXECME='$COMMAND"$ITEM" > "$JOB_LOG_DIR/$ITEM" 2>&1'
eval "$EXECME" eval "$EXECME"
fi fi