Fixed "which -s" option, which does not work on Linux.
Change-Id: I56b73e88e18fbda13cac9443454f6b726803780d
diff --git a/tools/test/bin/onos b/tools/test/bin/onos
index 21f8f13..63786d9 100755
--- a/tools/test/bin/onos
+++ b/tools/test/bin/onos
@@ -11,7 +11,7 @@
[ -n "$1" ] && OCI=$(find_node $1) && shift
-if which -s client && [ -z "$ONOS_USE_SSH" ]; then
+if which client 2>/dev/null && [ -z "$ONOS_USE_SSH" ]; then
# Use Karaf client only if we can and are allowed to
unset KARAF_HOME
client -h $OCI -u karaf "$@" 2>/dev/null