From 797ac0c7da41c226071c2c9db8605b794746b3ac Mon Sep 17 00:00:00 2001 From: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com> Date: Tue, 15 Aug 2023 13:34:37 +0200 Subject: [PATCH] Print to stderr --- jlmkr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jlmkr.py b/jlmkr.py index 1797323..947606b 100755 --- a/jlmkr.py +++ b/jlmkr.py @@ -792,8 +792,8 @@ def edit_jail(jail_name): else: jail_config_path = get_jail_config_path(jail_name) if not shutil.which(TEXT_EDITOR): - print(f"Unable to edit config file: {jail_config_path}.") - print(f"The {TEXT_EDITOR} text editor is not available.") + eprint(f"Unable to edit config file: {jail_config_path}.") + eprint(f"The {TEXT_EDITOR} text editor is not available.") else: os.system(f'{TEXT_EDITOR} {get_jail_config_path(jail_name)}') if jail_is_running(jail_name):