Skip to content

Commit

Permalink
Wait until the omniorb log file is generated in clear-omninames.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mmurooka authored Sep 2, 2022
1 parent 2f7fea1 commit eec3653
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/JVRC1/cnoid/clear-omninames.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ sudo rm -f /var/log/omniorb-nameserver.log 2> /dev/null
sudo rm -f /var/lib/omniorb/* 2> /dev/null
sudo rm -f /tmp/rtcmanager.ref 2> /dev/null
sudo /etc/init.d/omniorb4-nameserver start
sleep 1
until [ -f /var/log/omniorb-nameserver.log ]
do
sleep 1
done
tail /var/log/omniorb-nameserver.log

0 comments on commit eec3653

Please sign in to comment.