exit on error
This commit is contained in:
parent
5784b7e9e5
commit
5b5e1bf1cf
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
# license: MIT
|
||||
|
||||
# exit on error
|
||||
set -e
|
||||
|
||||
# check permissions
|
||||
[[ "$EUID" != 0 ]] && printf "error: permission denied!\n" >&2 && exit 1
|
||||
|
|
Loading…
Reference in a new issue