svn commit: trunk/busybox/util-linux
landley at busybox.net
landley at busybox.net
Mon Sep 4 12:43:26 PDT 2006
Author: landley
Date: 2006-09-04 12:43:26 -0700 (Mon, 04 Sep 2006)
New Revision: 16048
Log:
Thinko.
Modified:
trunk/busybox/util-linux/mount.c
Changeset:
Modified: trunk/busybox/util-linux/mount.c
===================================================================
--- trunk/busybox/util-linux/mount.c 2006-09-04 18:59:39 UTC (rev 16047)
+++ trunk/busybox/util-linux/mount.c 2006-09-04 19:43:26 UTC (rev 16048)
@@ -482,7 +482,7 @@
if (ENABLE_FEATURE_CLEAN_UP) endmntent(mountTable);
return EXIT_SUCCESS;
}
- }
+ } else storage_path = bb_simplify_path(argv[optind]);
// When we have two arguments, the second is the directory and we can
// skip looking at fstab entirely. We can always abspath() the directory
@@ -513,8 +513,6 @@
fstabname = bb_path_mtab_file;
else fstabname="/etc/fstab";
- storage_path = bb_simplify_path(argv[optind]);
-
if (!(fstab=setmntent(fstabname,"r")))
bb_perror_msg_and_die("Cannot read %s",fstabname);
More information about the busybox-cvs
mailing list