From b97b61ccfeea051c5a952a788c91c34db6594268 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Feb 2021 18:21:39 +0100 Subject: further simplify --- mdk-stage1/mount.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mdk-stage1') 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 : "")); -- cgit v1.2.1