summaryrefslogtreecommitdiffstats
path: root/lib/common.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-26 21:48:18 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-26 21:48:18 (EST)
commitb732112c8e1b99ade1c89fa51ec1683fae05b21c (patch)
tree609d9c83437506a9bcf084947de7970143c3b81c /lib/common.sh
parent780d42c7549512ba040638a3afaee07043a0459f (diff)
lib/common.sh: Add "set -u".
Diffstat (limited to 'lib/common.sh')
-rw-r--r--lib/common.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common.sh b/lib/common.sh
index 64d0602..e9bbefa 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -20,6 +20,8 @@
[ "x${_OH_COMMON_SM+set}" = 'xset' ] && return 0
_OH_COMMON_SM=1
+set -u
+
oh_init()
{
oh_use locale