Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimes

produce an error, due to a missing rc assignment.
This commit is contained in:
Rob Landley 2006-06-21 02:39:57 +00:00
parent 399d45f1c6
commit dbfb5a3cb7

View File

@ -529,7 +529,8 @@ int mount_main(int argc, char **argv)
// Mount this thing.
if (singlemount(mtcur)) {
rc = singlemount(mtcur);
if(rc) {
// Don't whine about already mounted fs when mounting all.
// Note: we should probably change return value to indicate
// failure, without causing a duplicate error message.