slitaz-boot-scripts rev 197

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