Skip to content

Commit

Permalink
Catch output
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Rataj committed Nov 13, 2020
1 parent 37b84d4 commit aea5a2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/sh

set -uo pipefail

WM_HOST=${WM_HOST}
WM_PORT=${WM_PORT}

nc -zvw10 "${WM_HOST}" "$WM_PORT"
nc -zvw10 "${WM_HOST}" "$WM_PORT" 2>&1

RESULT="$?"

Expand Down

0 comments on commit aea5a2a

Please sign in to comment.