Skip to content

Commit

Permalink
quick fix for gsh_exit function not exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
phyver committed Jun 28, 2021
1 parent a1efb9e commit c569cd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/gsh.sh
Expand Up @@ -113,6 +113,8 @@ Do you still want to quit? [y/n]") "
[ "$GSH_MODE" != "DEBUG" ] && ! [ -d "$GSH_ROOT/.git" ] && gsh unprotect
#shellcheck disable=SC2046
kill -sSIGHUP $(jobs -p) 2>/dev/null
trap - EXIT
exit 0
}


Expand Down

0 comments on commit c569cd0

Please sign in to comment.