aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-21 02:39:57 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-21 02:39:57 +0000
commite8cbcb5666f1a5647b4fca4a785ab7a2a3a52109 (patch)
tree0d67886192d7fc7c505b7188eb212eec825e58a0 /util-linux
parent18daf20580118c0052a261b783963aeafb33bf38 (diff)
downloadbusybox-w32-e8cbcb5666f1a5647b4fca4a785ab7a2a3a52109.tar.gz
busybox-w32-e8cbcb5666f1a5647b4fca4a785ab7a2a3a52109.tar.bz2
busybox-w32-e8cbcb5666f1a5647b4fca4a785ab7a2a3a52109.zip
Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimes
produce an error, due to a missing rc assignment. git-svn-id: svn://busybox.net/trunk/busybox@15454 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 9225289b6..fecf81606 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -529,7 +529,8 @@ int mount_main(int argc, char **argv)
529 529
530 // Mount this thing. 530 // Mount this thing.
531 531
532 if (singlemount(mtcur)) { 532 rc = singlemount(mtcur);
533 if(rc) {
533 // Don't whine about already mounted fs when mounting all. 534 // Don't whine about already mounted fs when mounting all.
534 // Note: we should probably change return value to indicate 535 // Note: we should probably change return value to indicate
535 // failure, without causing a duplicate error message. 536 // failure, without causing a duplicate error message.