From: Andre Noll Date: Fri, 19 Jun 2009 09:24:38 +0000 (+0200) Subject: gsu: Fix a typo in gsu_check_options(). X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=1d685dbb5b4b47c6504859daa73827a3fee11868;p=gsu.git gsu: Fix a typo in gsu_check_options(). This caused gsu to exit without an error message in case there is an invalid option type given in the script that used gsu. --- diff --git a/funcs/gsu b/funcs/gsu index 18b7c13..9bc7c7b 100644 --- a/funcs/gsu +++ b/funcs/gsu @@ -330,7 +330,7 @@ _gsu_check_options() [[ $ret -lt 0 ]] && return ;; *) - ret=-$E_BAD_OPTION_TYPE + ret=-$E_GSU_BAD_OPTION_TYPE result="$name/$option_type" return esac