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

Update power.sh

parent 017808b6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -77,7 +77,6 @@ finish() {
               "$WEB_PID" "$PASST_PID" "$DNSMASQ_PID" "${BALLOONING_PID:-}" )

  touch "$QEMU_END"
  (( reason > 1 )) && (( reason < 129 )) && echo "QEMU exitcode: $reason"

  if [ -s "$QEMU_PID" ]; then
    if read -r pid <"$QEMU_PID"; then
@@ -115,7 +114,7 @@ finish() {
    warn "Timed out while waiting for $(app) to exit!"
  fi

  echo && echo "❯ Shutdown completed!"
  (( reason != 1 )) && echo && echo "❯ Shutdown completed!"
  exit "$reason"
}