netstar pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=251ea96020fe0aafbe4c521681f10a18dff74694

commit 251ea96020fe0aafbe4c521681f10a18dff74694
Author: Al Poole <[email protected]>
Date:   Wed Oct 4 16:53:28 2017 +0100

    edi_main: don't use exit, goto and shutdown properly.
---
 src/bin/edi_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c
index 134bf29..d8573f2 100644
--- a/src/bin/edi_main.c
+++ b/src/bin/edi_main.c
@@ -1606,7 +1606,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
    args = ecore_getopt_parse(&optdesc, values, argc, argv);
    if (quit_option)
      {
-        exit(1);
+        goto end;
      }
    else if (args < 0)
      {

-- 


Reply via email to