diff --git a/drgn/internal/sudohelper.py b/drgn/internal/sudohelper.py index b0f6ec27b..0016bca5a 100644 --- a/drgn/internal/sudohelper.py +++ b/drgn/internal/sudohelper.py @@ -27,6 +27,8 @@ def open_via_sudo( subprocess.check_call( [ "sudo", + "-p", + f"[sudo] password for %p to open {path}: ", sys.executable, "-B", __file__,