From: Michael Tremer Date: Thu, 23 Aug 2018 10:17:23 +0000 (+0100) Subject: setup: Don't write any mount errors over the GUI X-Git-Tag: v2.21-core124~51 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=366b40c740bd61e412be23dcc987619b243b9c7b setup: Don't write any mount errors over the GUI Signed-off-by: Michael Tremer --- diff --git a/src/installer/hw.c b/src/installer/hw.c index c9b95017d3..8189aba18c 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -146,14 +146,7 @@ int hw_mount(const char* source, const char* target, const char* fs, int flags) } } - int r = mount(source, target, fs, flags, NULL); - - if (r) { - fprintf(stderr, "Error mounting %s to %s (fs = %s, flags = %d): %s\n", - source, target, fs, flags, strerror(r)); - } - - return r; + return mount(source, target, fs, flags, NULL); } int hw_umount(const char* target) {