diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2009-01-09 00:13:18 +0100 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2009-01-09 00:13:18 +0100 |
commit | 9b7963c4fc9e458e54e757cc9ee4499518fe4528 (patch) | |
tree | bc15b1666d323397f41256017ee9693c5a3edd6c /config.c | |
parent | 513cfe8f1bb892eda973221477ce385f2ca4aca8 (diff) |
Handle common errors without dying
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -124,8 +124,6 @@ int load_configuration(const char *configfile) { } OPT("battery_path") { - if ((stat(dest_value, &stbuf)) == -1) - die("battery_path contains an invalid path"); battery_path = strdup(dest_value); } OPT("run_watch") |