Skip to content

Commit

Permalink
Wait 10 iterations at most in clear-omninames.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mmurooka committed Sep 5, 2022
1 parent eec3653 commit 953227e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/JVRC1/cnoid/clear-omninames.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ 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
until [ -f /var/log/omniorb-nameserver.log ]
for i in {0..9}
do
sleep 1
[ -f /var/log/omniorb-nameserver.log ] && break
sleep 1
done
tail /var/log/omniorb-nameserver.log

0 comments on commit 953227e

Please sign in to comment.