summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-27 14:41:53 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-27 14:41:53 (EDT)
commita767048702ed1883f80f07630d22df5a4cb6a693 (patch)
tree3c4fcac3027a6c409d71f62284b43ae1b81dc7b7 /src
parent6d77eafb436d4db8f7a9f8d1db46df46d7800fd1 (diff)
downloadfirman.sh-a767048702ed1883f80f07630d22df5a4cb6a693.zip
firman.sh-a767048702ed1883f80f07630d22df5a4cb6a693.tar.gz
firman.sh-a767048702ed1883f80f07630d22df5a4cb6a693.tar.bz2
src/main.sh: Add "set -u"
Diffstat (limited to 'src')
-rw-r--r--src/main.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.sh b/src/main.sh
index e11fa79..4596b1a 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -15,6 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+set -u
+
usage()
{
printf 'Usage: %s [option ...]\n' "${0}"