diff options
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index c3c13bae4..35866ea76 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -342,7 +342,7 @@ mount_it_now: | |||
342 | flags|=MS_RDONLY; | 342 | flags|=MS_RDONLY; |
343 | } | 343 | } |
344 | } | 344 | } |
345 | if(!rc) break; | 345 | if(!rc || !f) break; |
346 | } | 346 | } |
347 | if(f) fclose(f); | 347 | if(f) fclose(f); |
348 | if(!f || !rc) break; | 348 | if(!f || !rc) break; |