]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/installer/hw.c
setup: Don't write any mount errors over the GUI
[ipfire-2.x.git] / src / installer / hw.c
index c9b95017d3ced051a52043ac6e83551a9348821a..8189aba18c08cfc72e93bed23fa6e7604c79085f 100644 (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) {