summaryrefslogtreecommitdiff
path: root/include/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib.sh')
-rw-r--r--include/lib.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lib.sh b/include/lib.sh
index 71183874..43b1a318 100644
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -176,6 +176,8 @@ x_()
err()
{
+ set -u -e
+
xbmk_err_val=0
real_err="" && [ -n "${xbmk_err+x}" ] && real_err="$xbmk_err"