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

Update power.sh

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