cdba: Print "Waiting for ssh" only for boot

For list and info the "Waiting for ssh" message is anoying, remove it.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
Bjorn Andersson
2020-06-29 01:14:02 -07:00
parent 4cabc1c827
commit b01431a83d

3
cdba.c
View File

@@ -797,7 +797,8 @@ int main(int argc, char **argv)
close(ssh_fds[1]);
close(ssh_fds[2]);
printf("Waiting for ssh to finish\n");
if (verb == CDBA_BOOT)
printf("Waiting for ssh to finish\n");
wait(NULL);