summaryrefslogtreecommitdiff
path: root/applets/applets.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/applets.c')
-rw-r--r--applets/applets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/applets/applets.c b/applets/applets.c
index cfcff3a..1a27419 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -392,10 +392,11 @@ int parse_config_file ( void )
parse_error ( "keyword not within section" );
}
fclose ( f );
+ return 1;
}
}
}
- return 1;
+ return 0; // no config file or not readable (not an error)
pe_label:
fprintf ( stderr, "Parse error in %s, line %d: %s\n", CONFIG_FILE, lc, err );