diff options
author | Eric Andersen | 2000-08-02 18:56:25 +0000 |
---|---|---|
committer | Eric Andersen | 2000-08-02 18:56:25 +0000 |
commit | 0c8e2a6580cb83dbca842751fdf672c4f5d2f9bd (patch) | |
tree | 226ef6e0baf8772f4d4203cbfa481e99e249b8d1 /mount.c | |
parent | fdd51033480e6d93af274bfd0df25b14aaea6c3b (diff) | |
download | busybox-0c8e2a6580cb83dbca842751fdf672c4f5d2f9bd.zip busybox-0c8e2a6580cb83dbca842751fdf672c4f5d2f9bd.tar.gz |
Fixed the "-f" option.
-Erik
Diffstat (limited to 'mount.c')
-rw-r--r-- | mount.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -121,9 +121,7 @@ do_mount(char *specialfile, char *dir, char *filesystemtype, int status = 0; char *lofile = NULL; -#if defined BB_MTAB if (fakeIt == FALSE) -#endif { #if defined BB_FEATURE_MOUNT_LOOP if (use_loop==TRUE) { @@ -150,7 +148,7 @@ do_mount(char *specialfile, char *dir, char *filesystemtype, /* If the mount was sucessful, do anything needed, then return TRUE */ - if (status == 0) { + if (status == 0 || fakeIt==TRUE) { #if defined BB_MTAB if (useMtab == TRUE) { |