From 9eddfce8fc87421ba8fc1cd690ca9454ce98e4e6 Mon Sep 17 00:00:00 2001 From: jonct <2807816+jonct@users.noreply.github.com> Date: Mon, 15 Jul 2024 16:49:22 -0400 Subject: [PATCH] Fix CLI non-root developer mode --- src/jlmkr/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jlmkr/cli.py b/src/jlmkr/cli.py index ed677b9..ac92dcd 100644 --- a/src/jlmkr/cli.py +++ b/src/jlmkr/cli.py @@ -31,7 +31,7 @@ from actions.stop import stop_jail def main(): if os.stat(SCRIPT_PATH).st_uid != 0: - if os.environ.get('JLMKR_DEBUG') is not None: + if os.environ.get('JLMKR_DEBUG') is None: fail( f"This script should be owned by the root user... Fix it manually with: `chown root {SCRIPT_PATH}`." )