MDM script correction

I seems to have seen that `caffeinate` is not really stopped, so I added `pkill caffeinate`.
This commit is contained in:
Søren Theilgaard
2022-01-20 11:34:18 +01:00
parent 7d02cf1da4
commit 64a91bff36
6 changed files with 6 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ what="installomator" # enter the software to install
caffeinatepid=$!
caffexit () {
kill "$caffeinatepid"
pkill caffeinate
exit $1
}