summaryrefslogtreecommitdiff
diff options
-rw-r--r--units/image/jobs.pxu2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/image/jobs.pxu b/units/image/jobs.pxu
index c1ee197..2cbbff5 100644
--- a/units/image/jobs.pxu
+++ b/units/image/jobs.pxu
@@ -75,7 +75,7 @@ id: image/model-grade-not-dangerous
category_id: image
summary: Check that the model grade is not missing or set to dangerous
requires:
- lsb.release >= '20' and lsb.distributor_id == "Ubuntu Core"
+ lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20
description:
Images with the 'dangerous' grade (the lowest of all available grades)
results in certain security measures to be relaxed.