summaryrefslogtreecommitdiff
path: root/tools/pingctl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pingctl')
-rwxr-xr-xtools/pingctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pingctl b/tools/pingctl
index ba99c19..3055055 100755
--- a/tools/pingctl
+++ b/tools/pingctl
@@ -35,8 +35,8 @@ wait_for_deaddaemon () {
cnt=`expr $cnt + 1`
if [ $cnt -gt 30 ]
then
- echo -n " Failed.. "
- break
+ echo " Failed.. "
+ exit 1;
fi
sleep 2
echo -n "."