summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2016-09-25 21:18:49 +0100
committerFrediano Ziglio <fziglio@redhat.com>2016-09-25 21:22:30 +0100
commit95b18c8f1ee6f464696273b76fafc1fc309a4f79 (patch)
tree84d43ee2714507f246576a3030c1430a47815a3f
parentc8aa170948b2d87ce5dedc2263538fa4eb35a184 (diff)
Fix test for old versions of nc
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
-rwxr-xr-xtest_closure2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_closure b/test_closure
index 3f384c5..6b06824 100755
--- a/test_closure
+++ b/test_closure
@@ -8,7 +8,7 @@ ip_listen=192.168.127.0
ip=192.168.127.1
set -e
-if ! nc --help &> /dev/null; then
+if ! nc -h &> /dev/null; then
echo "This test require netcat to be installed" >&2
exit 1
fi