diff options
Diffstat (limited to 'mdk-stage1/mount.c')
-rw-r--r-- | mdk-stage1/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c index 4ff1f5ffa..2920ff77c 100644 --- a/mdk-stage1/mount.c +++ b/mdk-stage1/mount.c @@ -131,7 +131,7 @@ int my_mount(char *dev, char *location, char *fs, int force_rw) #endif char *cmd; - rc = asprintf(&cmd, "mount %s %s -t %s -o %s%s", dev, location, fs, (force_rw ? "" : "ro,"), (opts ? opts : "")); + rc = asprintf(&cmd, "mount %s %s -t %s -o %s%s > /dev/null 2>&1", dev, location, fs, (force_rw ? "" : "ro,"), (opts ? opts : "")); if (rc == -1) { log_perror("asprint allocation failure"); rmdir(location); |