Unverified Commit e4eed2cc authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Do not print exit codes above 128 (#1099)

parent 0e773a90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ finish() {
  local pids=( "$TPM_PID" "$WSD_PID" "$WEB_PID" "$PASST_PID" "$DNSMASQ_PID" "${BALLOONING_PID:-}" )

  touch "$QEMU_END"
  (( reason != 0 )) && (( reason != 143 )) && echo "QEMU exitcode: $reason"
  (( reason != 0 )) && (( reason < 129 )) && echo "QEMU exitcode: $reason"

  if [ -s "$QEMU_PID" ]; then
    if read -r pid <"$QEMU_PID"; then