Add set -u

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-07-20 18:20:34 -07:00
parent 5500bc5164
commit 14fa0d89e1
No known key found for this signature in database
GPG key ID: 555C902A34EC968F
12 changed files with 12 additions and 12 deletions

View file

@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under
# the License.
set -e
set -eu
unpriv(){
sudo -u nobody "$@"

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -e
set -eu
unpriv(){
sudo -u nobody "$@"