commit | e37aedde2e7f2afa69ac63bdfc80cc103b19469d | [log] [tgz] |
---|---|---|
author | Christopher N. Hesse <raymanfx@gmail.com> | Wed Apr 05 18:55:28 2017 +0200 |
committer | Christopher N. Hesse <raymanfx@gmail.com> | Wed Apr 05 18:58:09 2017 +0200 |
tree | 97f2f762f6406dd43a9b8675526fc5a586df4108 | |
parent | 235c2987671222299042c7d920f83e21c7632ebb [diff] |
lights: Put back fd checks before closing While close(NULL) is indeed a harmless noop, fd can end up being < 0 for us. Change-Id: I56dcd7fb61c72d3ce750b13329ff42e11ab63c84