]> git.tuebingen.mpg.de Git - gsu.git/commitdiff
gsu: Kill some unused error codes.
authorAndre Noll <maan@systemlinux.org>
Sat, 25 Sep 2010 17:28:45 +0000 (19:28 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 29 Aug 2014 19:36:08 +0000 (21:36 +0200)
funcs/gsu

index 448d551180ee0dee11896ac23746f7704186f9ad..b873ad9386b872f4a98bdd731a1d8495b04e06c0 100644 (file)
--- 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