Fix CLI non-root developer mode

This commit is contained in:
jonct 2024-07-15 16:49:22 -04:00
parent 49f751fb94
commit 9eddfce8fc
1 changed files with 1 additions and 1 deletions

View File

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