Skip to content

Commit

Permalink
PackageInfo.g: fix AvailabilityTest return value
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Nov 7, 2024
1 parent 63d7502 commit 9f8b566
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9f8b566

Please sign in to comment.