mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 21:40:01 +08:00
Print debug info
This commit is contained in:
parent
84133fb680
commit
af262fd7df
@ -30,12 +30,14 @@ HOST_ARGS+=("-cpu_arch=${HOST_CPU}")
|
|||||||
[ -n "$HOST_VERSION" ] && HOST_ARGS+=("-version=${HOST_VERSION}")
|
[ -n "$HOST_VERSION" ] && HOST_ARGS+=("-version=${HOST_VERSION}")
|
||||||
[ -n "$HOST_TIMESTAMP" ] && HOST_ARGS+=("-ts=${HOST_TIMESTAMP}")
|
[ -n "$HOST_TIMESTAMP" ] && HOST_ARGS+=("-ts=${HOST_TIMESTAMP}")
|
||||||
|
|
||||||
[ "$DEBUG" = "Y" ] && set -x
|
if [ "$DEBUG" = "Y" ]; then
|
||||||
|
set -x
|
||||||
./run/host.bin "${HOST_ARGS[@]}" > /dev/null 2>&1 &
|
./run/host.bin "${HOST_ARGS[@]}" &
|
||||||
|
|
||||||
{ set +x; } 2>/dev/null
|
{ set +x; } 2>/dev/null
|
||||||
[ "$DEBUG" = "Y" ] && echo
|
echo
|
||||||
|
else
|
||||||
|
./run/host.bin "${HOST_ARGS[@]}" > /dev/null 2>&1 &
|
||||||
|
fi
|
||||||
|
|
||||||
# Configure serial ports
|
# Configure serial ports
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user