Skip to content

Commit

Permalink
[DOP-20393] Do not hide kinit error messages from user
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Oct 25, 2024
1 parent 00aa722 commit 6523620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onetl/connection/kerberos_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def kinit_password(user: str, password: str) -> None:
cmd,
stdin=subprocess.PIPE,
# do not show user 'Please enter password' banner
stderr=subprocess.PIPE,
stdout=subprocess.PIPE,
# do not capture stderr, immediately show all errors to user
) as proc:
proc.communicate(password.encode("utf-8"))
Expand Down

0 comments on commit 6523620

Please sign in to comment.