If we goto singlemount, do _not_ try to continue through the loop we jumped
into. (That means "mount -t ext2 /dev/thingy thingy" would segfault if it failed instead of giving us an error message.)
This commit is contained in:
parent
23246f39ed
commit
de5fd23f25
@ -342,7 +342,7 @@ mount_it_now:
|
|||||||
flags|=MS_RDONLY;
|
flags|=MS_RDONLY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!rc) break;
|
if(!rc || !f) break;
|
||||||
}
|
}
|
||||||
if(f) fclose(f);
|
if(f) fclose(f);
|
||||||
if(!f || !rc) break;
|
if(!f || !rc) break;
|
||||||
|
Loading…
Reference in New Issue
Block a user