Thomas Vachuska

Fixed "which -s" option, which does not work on Linux.

Change-Id: I56b73e88e18fbda13cac9443454f6b726803780d
......@@ -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
......