mount: fix SIGSEV crashes
authorHans Dedecker <dedeckeh@gmail.com>
Tue, 17 Oct 2017 11:40:41 +0000 (13:40 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 17 Oct 2017 11:44:34 +0000 (13:44 +0200)
commit01bb2b09b1d34bec5841a3fa27e7a8696dcba869
tree103d33c5b2e103b05f8119a20ecc501f333095e1
parentdd5799c9f8cc7a01c0572c067bf907b37cdd7d04
mount: fix SIGSEV crashes

Don't close file descriptor in case file descriptor is NULL

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
mount.c