mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-13 22:05:11 +01:00
MDM script correction
I seems to have seen that `caffeinate` is not really stopped, so I added `pkill caffeinate`.
This commit is contained in:
@@ -14,6 +14,7 @@ what="handbrake theunarchiver microsoftoffice365"
|
||||
caffeinatepid=$!
|
||||
caffexit () {
|
||||
kill "$caffeinatepid"
|
||||
pkill caffeinate
|
||||
exit $1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user