mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix Salt-SSH crash when key deploy is skipped manually
This commit is contained in:
parent
df835c1982
commit
af3818ba24
2 changed files with 2 additions and 1 deletions
1
changelog/66610.fixed.md
Normal file
1
changelog/66610.fixed.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fixed Salt-SSH crash when key deploy is skipped manually
|
|
@ -480,7 +480,7 @@ class SSH(MultiprocessingStateMixin):
|
||||||
)
|
)
|
||||||
deploy = input("[Y/n] ")
|
deploy = input("[Y/n] ")
|
||||||
if deploy.startswith(("n", "N")):
|
if deploy.startswith(("n", "N")):
|
||||||
return ret
|
return ret, None
|
||||||
target["passwd"] = getpass.getpass(
|
target["passwd"] = getpass.getpass(
|
||||||
"Password for {}@{}: ".format(target["user"], host)
|
"Password for {}@{}: ".format(target["user"], host)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue