messages: by popular request allow PATH to be customized at build time

mount: smallish code shrink
This commit is contained in:
Denis Vlasenko
2007-09-07 19:33:56 +00:00
parent d7ecd863c8
commit c8d4d2f11d
2 changed files with 19 additions and 11 deletions

View File

@ -1527,11 +1527,10 @@ static int singlemount(struct mntent *mp, int ignore_busy)
if (ENABLE_FEATURE_CLEAN_UP)
free(filteropts);
if (rc && errno == EBUSY && ignore_busy)
rc = 0;
if (errno == EBUSY && ignore_busy)
return 0;
if (rc < 0)
bb_perror_msg("mounting %s on %s failed", mp->mnt_fsname, mp->mnt_dir);
return rc;
}