I made a small mistake in my previous patch (thanks for accepting it :)

basically, I use ret for parsing options, but it's never reset to 0, making shell return value 255 if it succeeds.. which is not proper.

attached is a oneliner to fix it.

Cheers,
--
Morten
cvs diff: Diffing .
Index: ecore_config.c
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/bin/ecore_config.c,v
retrieving revision 1.4
diff -u -r1.4 ecore_config.c
--- ecore_config.c      7 Dec 2005 23:30:29 -0000       1.4
+++ ecore_config.c      8 Dec 2005 08:24:14 -0000
@@ -224,6 +224,8 @@
        // Load configuration from file
        ecore_config_file_load(file);
 
+       ret = 0;
+
        // Execute command
        switch (cmd) {
                case 's':

Reply via email to