When a command is executed, also standard error is logged with 2>&1
This commit is contained in:
parent
d79808ee42
commit
adab297ce8
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue