diff --git a/src/jlmkr/donor/jlmkr.py b/src/jlmkr/donor/jlmkr.py index a0efbde..d6c54a7 100755 --- a/src/jlmkr/donor/jlmkr.py +++ b/src/jlmkr/donor/jlmkr.py @@ -1463,6 +1463,7 @@ def add_parser(subparser, **kwargs): def main(): if os.stat(SCRIPT_PATH).st_uid != 0: + if os.environ.get('JLMKR_DEBUG') is not None: fail( f"This script should be owned by the root user... Fix it manually with: `chown root {SCRIPT_PATH}`." )