forked from osmocom/wireshark
Add COMMON_ARGS to the "Command and args" message.
Change-Id: I286b7727a7b92ecbc913f55b8e77a505df4a7d5e Reviewed-on: https://code.wireshark.org/review/28069 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
a5d6ccc50d
commit
c99e9d6aa4
|
@ -234,7 +234,7 @@ while { [ $PASS -lt "$MAX_PASSES" ] || [ "$MAX_PASSES" -lt 1 ]; } && [ $DONE -ne
|
|||
# shellcheck disable=SC2016
|
||||
SUBSHELL_PID=$($SHELL -c 'echo $PPID')
|
||||
|
||||
printf 'Command and args: %s %s\n' "$RUNNER" "$ARGS" > "$TMP_DIR/$ERR_FILE.$SUBSHELL_PID"
|
||||
printf 'Command and args: %s %s %s\n' "$RUNNER" "$COMMON_ARGS" "$ARGS" > "$TMP_DIR/$ERR_FILE.$SUBSHELL_PID"
|
||||
# shellcheck disable=SC2086
|
||||
"$RUNNER" $COMMON_ARGS $ARGS "$TMP_DIR/$TMP_FILE" \
|
||||
> /dev/null 2>> "$TMP_DIR/$ERR_FILE.$SUBSHELL_PID"
|
||||
|
|
Loading…
Reference in New Issue