From 7eff3dc75f0059537b5ae6013ee4dc5511c86c32 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 25 Sep 2010 19:28:45 +0200 Subject: [PATCH] gsu: Kill some unused error codes. --- funcs/gsu | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/funcs/gsu b/funcs/gsu index 448d551..b873ad9 100644 --- a/funcs/gsu +++ b/funcs/gsu @@ -1,6 +1,6 @@ #!/bin/bash # gsu -- the global subcommand utility -# (C) 2006-2009 Andre Noll +# (C) 2006-2010 Andre Noll _gsu_init_errors() { @@ -8,15 +8,12 @@ _gsu_init_errors() GSU_SUCCESS success E_GSU_BAD_COMMAND invalid command E_GSU_NOT_A_NUMBER not a number -E_GSU_SOURCE error in config file -E_GSU_CONFIG bad/missing config file option E_GSU_BAD_CONFIG_VAR invalid config variable E_GSU_NEED_VALUE value required but not given E_GSU_BAD_BOOL bad value for boolian option E_GSU_BAD_OPTION_TYPE invalid option type E_GSU_BAD_ARG_COUNT invalid number of arguments E_GSU_EDITOR failed to execute editor -E_NO_DEFAULT missing default value $gsu_errors " local a b i=0 -- 2.30.2