diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-26 21:30:05 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-26 21:30:05 -0400 |
commit | d52e1e2a44ded6d404363e6aff8ee244cfe847f8 (patch) | |
tree | 37e5284bf6c35173b31e989c207acdae1c6c7749 /src | |
parent | d1c08f718468e10cb785a622443fc008abb63cee (diff) |
libremessages: run with -euE when stand alone, use == instead of =
Diffstat (limited to 'src')
-rwxr-xr-x | src/libremessages | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libremessages b/src/libremessages index 3891658..726daa5 100755 --- a/src/libremessages +++ b/src/libremessages @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -euE # Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org> # Copyright (c) 2006-2010 Pacman Development Team <pacman-dev@archlinux.org> # Copyright (c) 2005 by Aurelien Foret <orelien@chez.com> @@ -62,7 +62,7 @@ term_title() { # Run one of the defined functions if invoked directly # ################################################################################ -if [[ "${0##*/}" = libremessages ]]; then +if [[ "${0##*/}" == libremessages ]]; then _libremessages_cmd=$1 shift "$_libremessages_cmd" "$@" |