diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2021-02-18 18:21:39 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-01-05 15:34:30 +0100 |
commit | b97b61ccfeea051c5a952a788c91c34db6594268 (patch) | |
tree | 0cf11cf7253f01c9826caad6814e368d55506e90 | |
parent | fa7cece91765ed48101d7fd5f281e4f129e0c048 (diff) | |
download | drakx-b97b61ccfeea051c5a952a788c91c34db6594268.tar drakx-b97b61ccfeea051c5a952a788c91c34db6594268.tar.gz drakx-b97b61ccfeea051c5a952a788c91c34db6594268.tar.bz2 drakx-b97b61ccfeea051c5a952a788c91c34db6594268.tar.xz drakx-b97b61ccfeea051c5a952a788c91c34db6594268.zip |
further simplify
-rw-r--r-- | mdk-stage1/mount.c | 3 |
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 : "")); |