Commit 9a11fa93 authored by Greg Williams's avatar Greg Williams
Browse files

Updated netstat listen for kinetic simulator to support linux output format from netstat

parent 4d08b0c8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@ for f in $BASE_DIR/*.jar; do
   CLASSPATH=${CLASSPATH}:$f
done

if ! netstat -an | grep LISTEN | grep "\*\.8123"; then
if ! netstat -an | grep LISTEN | grep "[\.:].8123"; then
    exec "$JAVA" -classpath "$CLASSPATH" com.seagate.kinetic.simulator.internal.SimulatorRunner "$@" &
    while ! netstat -an | grep LISTEN | grep "\*\.8123"
    while ! netstat -an | grep LISTEN | grep "[\.:]8123"
    do sleep 1; done
fi