diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-04-11 11:24:47 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-04-11 11:24:47 +0200 |
commit | e57bc2d5de7622313e3f5f151310c35fa90c191b (patch) | |
tree | a2500a60137a92e18e70dd5be6a61ca986d7a016 /util/iconfig.c | |
parent | ec09ef3933fecbe5b6969c257ee42ce8841e4d64 (diff) | |
parent | c71bf8390b9a06fa498d2cb4f8a4924309f4875e (diff) |
Update upstream source from tag 'upstream/3.1.6'
Update to upstream version '3.1.6'
with Debian dir 52c1d1e5c413a97655e5877a16e2ec40df1ae2a9
Diffstat (limited to 'util/iconfig.c')
-rw-r--r-- | util/iconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/iconfig.c b/util/iconfig.c index 25e0c67..49d690f 100644 --- a/util/iconfig.c +++ b/util/iconfig.c @@ -2681,7 +2681,7 @@ main(int argc, char **argv) } /*endif not readonly*/ do_exit: - if (fd_bmc != stdout) fclose(fd_bmc); + if (fd_bmc != NULL && fd_bmc != stdout) fclose(fd_bmc); ipmi_close_(); if (nerrs > 0) { printf("Warning: %d ok, %d errors occurred, last error = %d\n",ngood,nerrs,lasterr); |