diff options
| author | Eric Andersen <andersen@codepoet.org> | 2000-08-02 18:56:25 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2000-08-02 18:56:25 +0000 |
| commit | 0c8e2a6580cb83dbca842751fdf672c4f5d2f9bd (patch) | |
| tree | 226ef6e0baf8772f4d4203cbfa481e99e249b8d1 /util-linux | |
| parent | fdd51033480e6d93af274bfd0df25b14aaea6c3b (diff) | |
| download | busybox-w32-0c8e2a6580cb83dbca842751fdf672c4f5d2f9bd.tar.gz busybox-w32-0c8e2a6580cb83dbca842751fdf672c4f5d2f9bd.tar.bz2 busybox-w32-0c8e2a6580cb83dbca842751fdf672c4f5d2f9bd.zip | |
Fixed the "-f" option.
-Erik
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/mount.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 9f25e05ce..fc057473f 100644 --- a/util-linux/mount.c +++ b/util-linux/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) { |
