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

Update power.sh

parent a44f079b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -179,7 +179,7 @@ _graceful_shutdown() {
        info "Waiting for $(app) to shut down... ($cnt/$max)"
      fi
    else
      info "$(echo $(app) | sed 's/.*/\u&/') is still running, sending SIGTERM... ($cnt/$max)"
      info "${$(app)^} is still running, sending SIGTERM... ($cnt/$max)"
      { kill -15 -- "$pid" && wait $! || :; } 2>/dev/null
    fi