Switch from #!/bin/sh -e to set -e

Switch to set -e.
The shebang variant doesn't apply to subshells.
This commit is contained in:
0x1eef 2024-05-11 14:51:26 -03:00
parent 7c68dd5d1a
commit ee84071329
10 changed files with 20 additions and 10 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
##
# variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
##
# variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
##
# variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
##
# variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
##
# variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
group="_portzap"
if id -Gn | \

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
##
# variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
##
# variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
##
# variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
##
# variables