leif pushed a commit to branch master.

http://git.enlightenment.org/apps/econnman.git/commit/?id=e09e4228623ae2c487af37b8be4d02b615f1c010

commit e09e4228623ae2c487af37b8be4d02b615f1c010
Author: Matthias Wauer <matthiaswa...@googlemail.com>
Date:   Mon Jan 20 15:16:00 2014 +0100

    Fix sematic mistake for handling missing config file
    
    Summary:
    Pass IOError exception up for propper missing/denied config
    file handling.
    
    Reviewers: leif
    
    Differential Revision: https://phab.enlightenment.org/D477
---
 econnman-bin.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/econnman-bin.in b/econnman-bin.in
index 9cdb64b..2210b1e 100755
--- a/econnman-bin.in
+++ b/econnman-bin.in
@@ -265,7 +265,7 @@ def config_file_setup():
     except IOError:
         popup_error(win, "Cannot read configuration file", "Econnman cannot 
read the coniguration file \"" + CONF_FILE + "\", used by connman to configure 
your ieee802.1x networks. Make sure the user running connman is able to 
read/write it.")
         configs = None
-        pass
+        raise IOError
 
 def config_del(name):
     global configs

-- 


Reply via email to