summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2018-05-23 12:58:19 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2018-05-23 13:01:09 -0500
commit4a029f2f401a6738c6daa31ad3098eb7f0915c7c (patch)
treed7b236516d303259b0b7b3c93c27c4c5837375e6 /test
parenta8808b85154ec9d5b3590d9163bd87b55af96dfa (diff)
downloadphosphor-logging-4a029f2f401a6738c6daa31ad3098eb7f0915c7c.tar.gz
phosphor-logging-4a029f2f401a6738c6daa31ad3098eb7f0915c7c.zip
Always call close on fd if file has been opened
The previous logic only called close if the file had been opened AND there was a valid inotify watch handle. Even if there is not a watch handle, the file should be closed. Change-Id: Id1f6d441129e13c6a48d6156161425082aeba8e8 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud