Skip to content

Commit

Permalink
Fixed GUI crash when stopping already stopped modpack.
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxbud committed Jun 9, 2022
1 parent afe272a commit 937b20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ _modpack_run_dialog() {
--ok-label="Stop$_GO_SUF" \
--cancel-label="$_BACK" <&3
then
kill -s KILL $(pgrep "HyperLight")
_HLD_PID=($(pgrep "HyperLight")) && kill -s KILL ${_HLD_PID[-1]}
fi
echo "_modpack_menu_dialog"
;;
Expand Down

0 comments on commit 937b20c

Please sign in to comment.