diff options
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/mount.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 43856eace..8a1f4a11a 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
| @@ -284,6 +284,8 @@ static int mount_one(char *blockDevice, char *directory, char *filesystemType, | |||
| 284 | } | 284 | } |
| 285 | } | 285 | } |
| 286 | fclose(f); | 286 | fclose(f); |
| 287 | } else { | ||
| 288 | read_proc = 1; | ||
| 287 | } | 289 | } |
| 288 | 290 | ||
| 289 | if (read_proc && !status) { | 291 | if (read_proc && !status) { |
| @@ -314,8 +316,7 @@ static int mount_one(char *blockDevice, char *directory, char *filesystemType, | |||
| 314 | fclose(f); | 316 | fclose(f); |
| 315 | } | 317 | } |
| 316 | } else { | 318 | } else { |
| 317 | status = | 319 | status = do_mount(blockDevice, directory, filesystemType, |
| 318 | do_mount(blockDevice, directory, filesystemType, | ||
| 319 | flags | MS_MGC_VAL, string_flags, useMtab, fakeIt, | 320 | flags | MS_MGC_VAL, string_flags, useMtab, fakeIt, |
| 320 | mtab_opts, mount_all); | 321 | mtab_opts, mount_all); |
| 321 | } | 322 | } |
