summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index 178eb0a41..eb52780fa 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -91,9 +91,8 @@ int my_mount(char *dev, char *location, char *fs, int force_rw)
}
#ifndef DISABLE_MEDIAS
- if (!strcmp(fs, "vfat")) {
+ if (!strcmp(fs, "vfat"))
opts = "check=relaxed";
- }
#endif
char *cmd;
rc = asprintf(&cmd, "mount %s %s -t %s -o %s%s > /dev/null 2>&1", dev, location, fs, (force_rw ? "" : "ro,"), (opts ? opts : ""));