diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-03-23 16:32:48 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-03-23 16:32:48 +0100 |
commit | f5c4b520bae5a38f333f3cb9ef71ab23d4f9da93 (patch) | |
tree | dae9ed0d5d6023000ccf92d2d49fb13808e08ffd /src/coredump | |
parent | d2f646828e90513355ab61855556242b32a14e48 (diff) | |
download | systemd-f5c4b520bae5a38f333f3cb9ef71ab23d4f9da93.tar.gz |
coccinelle: run safe_fclose.cocci again
Diffstat (limited to 'src/coredump')
-rw-r--r-- | src/coredump/coredumpctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/coredump/coredumpctl.c b/src/coredump/coredumpctl.c index a1b8b85e10..b0a00cda37 100644 --- a/src/coredump/coredumpctl.c +++ b/src/coredump/coredumpctl.c @@ -1072,8 +1072,7 @@ int main(int argc, char *argv[]) { end: pager_close(); - if (arg_output) - fclose(arg_output); + safe_fclose(arg_output); return r >= 0 ? r : EXIT_FAILURE; } |