mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-21 20:31:00 +02:00
Fixed "which -s" option, which does not work on Linux.
Change-Id: I56b73e88e18fbda13cac9443454f6b726803780d
This commit is contained in:
parent
12bf445239
commit
995d6916db
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user