]> git.ipfire.org Git - pakfire.git/commitdiff
mount: Don't mess with the helpers
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 May 2022 15:54:08 +0000 (15:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 May 2022 15:54:08 +0000 (15:54 +0000)
For some reason, this umounts practically everything on my Debian box.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/mount.c

index d7e1e0e8dac2233b7b5bc9d7d90e932dd2ba04ba..a1ee7b875dec57ffb38d32e15c7a96af796158a8 100644 (file)
@@ -173,13 +173,6 @@ int pakfire_mount(struct pakfire* pakfire, const char* source, const char* targe
        if (!ctx)
                return 1;
 
-       // Disable any mount helpers
-       r = mnt_context_disable_helpers(ctx, 1);
-       if (r) {
-               ERROR(pakfire, "Could not disable mount helpers: %m\n");
-               goto ERROR;
-       }
-
        // Set source
        r = mnt_context_set_source(ctx, source);
        if (r) {