From cb7c3211581383981453952ed8cfea17effd2c5f Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Tue, 8 Sep 2020 12:01:54 +0200 Subject: [PATCH] Remove autoclear option from squashfs mount Seems like it's not supported in the new kernels. --- src/shifter_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shifter_core.c b/src/shifter_core.c index 364daf64..ba84f4c5 100644 --- a/src/shifter_core.c +++ b/src/shifter_core.c @@ -1428,7 +1428,7 @@ int loopMount(const char *imagePath, const char *loopMountPath, ImageFormat form fprintf(stderr, "ERROR: no apparent support for squashfs!"); goto _loopMount_unclean; } - useAutoclear = 1; + useAutoclear = 0; ready = 1; imgType = "squashfs"; } else if (format == FORMAT_XFS) {