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 8f545ce008
commit 9a44a91fae
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.
else
#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"
fi