setup: Don't write any mount errors over the GUI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-08-23 11:17:23 +01:00
parent 95b87f39ac
commit 366b40c740

View File

@@ -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) {