From 902c505e4ad26e5fcf261410710cc45530c8223f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 6 Jun 2003 10:22:20 +0000 Subject: Exit with error if we fail to stop pingd --- debian/echolot.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/echolot.init b/debian/echolot.init index 616aa2b..101b75d 100755 --- a/debian/echolot.init +++ b/debian/echolot.init @@ -38,8 +38,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 "." -- cgit v1.2.3