diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-07 19:33:56 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-07 19:33:56 +0000 |
commit | c8d4d2f11d106f509a347787e223d863e8faa235 (patch) | |
tree | 71fabb4fa5104b79fd596fd910cf594d765904c0 /util-linux | |
parent | d7ecd863c855a53e263486e742a4adfb871d9127 (diff) | |
download | busybox-w32-c8d4d2f11d106f509a347787e223d863e8faa235.tar.gz busybox-w32-c8d4d2f11d106f509a347787e223d863e8faa235.tar.bz2 busybox-w32-c8d4d2f11d106f509a347787e223d863e8faa235.zip |
messages: by popular request allow PATH to be customized at build time
mount: smallish code shrink
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/mount.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 3aadbf72d..91f09e15c 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -1527,11 +1527,10 @@ static int singlemount(struct mntent *mp, int ignore_busy) | |||
1527 | if (ENABLE_FEATURE_CLEAN_UP) | 1527 | if (ENABLE_FEATURE_CLEAN_UP) |
1528 | free(filteropts); | 1528 | free(filteropts); |
1529 | 1529 | ||
1530 | if (rc && errno == EBUSY && ignore_busy) | 1530 | if (errno == EBUSY && ignore_busy) |
1531 | rc = 0; | 1531 | return 0; |
1532 | if (rc < 0) | 1532 | if (rc < 0) |
1533 | bb_perror_msg("mounting %s on %s failed", mp->mnt_fsname, mp->mnt_dir); | 1533 | bb_perror_msg("mounting %s on %s failed", mp->mnt_fsname, mp->mnt_dir); |
1534 | |||
1535 | return rc; | 1534 | return rc; |
1536 | } | 1535 | } |
1537 | 1536 | ||