Explicitly don't fail on error in library calls (required for conditonals)
This commit is contained in:
parent
a6c3917cc9
commit
f2fc6d1af4
1 changed files with 6 additions and 0 deletions
6
lib.sh
6
lib.sh
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue