feat: guard option in bash to prevent script from running after error
This commit is contained in:
parent
96c24ba956
commit
12cbefe3dd
4 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$EUID" -eq 0 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue