slitaz-boot-scripts rev 196

rc.functions: set status return
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 15 18:01:12 2010 +0100 (2010-03-15)
parents 29d705b21621
children 236b2c8d8714
files etc/init.d/rc.functions
line diff
     1.1 --- a/etc/init.d/rc.functions	Mon Feb 22 20:44:14 2010 +0100
     1.2 +++ b/etc/init.d/rc.functions	Mon Mar 15 18:01:12 2010 +0100
     1.3 @@ -12,6 +12,7 @@
     1.4  		echo -en "\\033[1;31mFailed"
     1.5  	fi
     1.6  	echo -e "\\033[0;39m ]"
     1.7 +	return $?
     1.8  }
     1.9  
    1.10  # Another way to sleep.