fix : kill all background processes when exiting (#165)

pull/168/head
Yannick Mauray 3 years ago committed by GitHub
parent d0ffb6f4cb
commit aa7ebc1528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      quickget

@ -23,6 +23,8 @@
# }
# 6. Add new OS to the argument parser at the bottom of the script
trap 'kill $(jobs -p)' EXIT
if ((BASH_VERSINFO[0] < 4))
then
echo "Sorry, you need bash 4.0 or newer to run this script."

Loading…
Cancel
Save