aboutsummaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mount.c b/mount.c
index 9f25e05ce..fc057473f 100644
--- a/mount.c
+++ b/mount.c
@@ -121,9 +121,7 @@ do_mount(char *specialfile, char *dir, char *filesystemtype,
121 int status = 0; 121 int status = 0;
122 char *lofile = NULL; 122 char *lofile = NULL;
123 123
124#if defined BB_MTAB
125 if (fakeIt == FALSE) 124 if (fakeIt == FALSE)
126#endif
127 { 125 {
128#if defined BB_FEATURE_MOUNT_LOOP 126#if defined BB_FEATURE_MOUNT_LOOP
129 if (use_loop==TRUE) { 127 if (use_loop==TRUE) {
@@ -150,7 +148,7 @@ do_mount(char *specialfile, char *dir, char *filesystemtype,
150 148
151 149
152 /* If the mount was sucessful, do anything needed, then return TRUE */ 150 /* If the mount was sucessful, do anything needed, then return TRUE */
153 if (status == 0) { 151 if (status == 0 || fakeIt==TRUE) {
154 152
155#if defined BB_MTAB 153#if defined BB_MTAB
156 if (useMtab == TRUE) { 154 if (useMtab == TRUE) {