mirror of https://github.com/mirror/busybox.git
Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimes
produce an error, due to a missing rc assignment.1_4_stable
parent
399d45f1c6
commit
dbfb5a3cb7
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue