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}`." )