diff options
author | Ariadna Vigo <arivigodr@gmail.com> | 2020-12-24 22:48:25 +0100 |
---|---|---|
committer | Ariadna Vigo <arivigodr@gmail.com> | 2020-12-24 22:48:25 +0100 |
commit | 6dcfecf4d72b130f4deb46dc1ad99901d18da68a (patch) | |
tree | 02842eeee72a40c90c627bbbf45657a1cd272144 | |
parent | f6fb44eac7451258651963559c2f957323e5823d (diff) |
-rw-r--r-- | cras.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -125,10 +125,8 @@ read_crasfile(TaskLst *list, const char *crasfile) FILE *fp; fp = fopen(crasfile, "r"); - if (fp == NULL) { - task_lst_cleanup(list); + if (fp == NULL) die("Could not read from %s: %s", crasfile, strerror(errno)); - } read_stat = task_lst_read_from_file(list, fp); fclose(fp); |