diff options
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index e0a2e2930..4777e470b 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -327,8 +327,11 @@ mount_it_now: | |||
327 | } | 327 | } |
328 | if(!rc || !f) break; | 328 | if(!rc || !f) break; |
329 | } | 329 | } |
330 | if(f) fclose(f); | 330 | if(!f) break; |
331 | if(!f || !rc) break; | 331 | fclose(f); |
332 | // goto mount_it_now with -a can jump past the initialization | ||
333 | f=0; | ||
334 | if(!rc) break; | ||
332 | } | 335 | } |
333 | 336 | ||
334 | /* If the mount was successful, and we're maintaining an old-style | 337 | /* If the mount was successful, and we're maintaining an old-style |