Yuta HIGUCHI

terminate when ssh session is killed

Change-Id: I145cc9de4c7006efb56661d0f64d4158fe4aee1b
......@@ -24,7 +24,7 @@ if [ $less -eq 1 ]; then
ssh -t $remote "less $LOG"
else
trap "ssh $remote 'ps -ef | grep \"tail -n 512\" | grep -v grep | cut -c10-15 | xargs kill'" EXIT
ssh $remote "
ssh -t $remote "
while true; do
echo ==================================================================
[ ! -f $LOG ] && sleep 2 && continue
......
......@@ -8,7 +8,7 @@
remote=$ONOS_USER@${1:-$OCI}
ssh $remote "
ssh -t $remote "
# Wait until we reach the run-level 100
running=""
while [ -z \$running ]; do
......