Skip to content

Commit

Permalink
Merge pull request #10 from plesk/avoid-motd-inprogress-repeat
Browse files Browse the repository at this point in the history
Restore original message of the day, before making in progress message
  • Loading branch information
SandakovMM authored Feb 19, 2024
2 parents 767cc25 + 4a1e112 commit f5da7e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pleskdistup/actions/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def __init__(self, new_os: str):

def _prepare_action(self) -> action.ActionResult:
log.debug("Adding 'in progress' login message...")
motd.restore_ssh_login_message()
motd.add_inprogress_ssh_login_message(self.in_progress_message)
return action.ActionResult()

Expand Down

0 comments on commit f5da7e3

Please sign in to comment.