Patch from Jason Schoon to make mount -a not abort on the first failure.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -533,11 +533,13 @@ int mount_main(int argc, char **argv) | |
| // Mount this thing. | |
| - | rc = singlemount(mtcur); |
| - | if (rc) { |
| + | if (singlemount(mtcur)) { |
| // Don't whine about already mounted fs when mounting all. | |
| - | if (errno == EBUSY) rc = 0; |
| - | else break; |
| + | // Note: we should probably change return value to indicate |
| + | // failure, without causing a duplicate error message. |
| + | if (errno != EBUSY) bb_perror_msg("Mounting %s on %s failed", |
| + | mtcur->mnt_fsname, mtcur->mnt_dir); |
| + | rc = 0; |
| } | |
| } | |
| } | |