From 1d685dbb5b4b47c6504859daa73827a3fee11868 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 19 Jun 2009 11:24:38 +0200 Subject: [PATCH] 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. --- funcs/gsu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2