Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
#840: Suppress waiting on info messages from wrapper script when boot…
Browse files Browse the repository at this point in the history
…strap has completed.
  • Loading branch information
jdeathe committed Sep 19, 2019
1 parent 1ee846e commit 1aa0966
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Summary of release changes.
- Updates method used for returning current script.
- Updates info/error output for consistency.
- Updates healthcheck failure messages to remove EOL character that is rendered in status response.
- Updates wrapper script; only emit "waiting on" info message if bootstrap hasn't completed.
- Adds improved test workflow; added `test-setup` target to Makefile.
- Adds Makefile target `logsdef` to handle deferred logs output within a target chain.
- Adds exec proxy function to `sshd-wrapper` used to pass through nice.
Expand Down
3 changes: 2 additions & 1 deletion src/usr/sbin/sshd-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ function main ()
__get_proxy
)"

if [[ ${verbose} == true ]]
if [[ ${verbose} == true ]] \
&& [[ ! -f ${bootstrap_state_file} ]]
then
printf -- \
'INFO: %s waiting on %s\n' \
Expand Down

0 comments on commit 1aa0966

Please sign in to comment.