Explicitly don't fail on error in library calls (required for conditonals)

This commit is contained in:
Andrew Walsh 2024-03-03 14:39:27 -08:00
parent a6c3917cc9
commit f2fc6d1af4

6
lib.sh
View file

@ -1,5 +1,11 @@
#!/bin/bash #!/bin/bash
# Don't fail on error. We use the exit status as a conditional.
#
# This is the default behavior but can be overriden by the caller in the
# SHELLOPTS env var.
set +e
############################################################################### ###############################################################################
# Execute the Debian install script. # Execute the Debian install script.
# Arguments: # Arguments: