summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/config.c b/config.c
index ed5c96f..e77ff2e 100644
--- a/config.c
+++ b/config.c
@@ -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")