From 9f8b566c88216edcc76b7932756d7d939657a74f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 7 Nov 2024 09:25:15 +0100 Subject: [PATCH] PackageInfo.g: fix AvailabilityTest return value --- PackageInfo.g | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PackageInfo.g b/PackageInfo.g index df614ed..ae6277a 100644 --- a/PackageInfo.g +++ b/PackageInfo.g @@ -113,9 +113,9 @@ Dependencies := rec( AvailabilityTest := function() if not IsKernelExtensionAvailable("curlinterface", "curl") then LogPackageLoadingMessage(PACKAGE_WARNING, - ["the kernel module is not compiled, ", - "the package cannot be loaded."]); - return fail; + ["the kernel module is not compiled, ", + "the package cannot be loaded."]); + return false; fi; return true; end,