mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 15:32:59 +02:00
setup: Don't write any mount errors over the GUI
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user