From e30ea8dd3399ec0c72e2cd0a70ac3323f3687529 Mon Sep 17 00:00:00 2001 From: David McLain Date: Tue, 26 Nov 2024 23:33:08 +0000 Subject: [PATCH] oops copy paste error fixed! --- landscape/client/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landscape/client/configuration.py b/landscape/client/configuration.py index 87e482cf..bb6bc7df 100644 --- a/landscape/client/configuration.py +++ b/landscape/client/configuration.py @@ -909,7 +909,7 @@ def main(args, print=print): # noqa: C901 info_text = registration_info_text(config, currently_registered) print(info_text) - if registration_status: + if currently_registered: sys.exit(0) else: sys.exit(EXIT_NOT_REGISTERED)