SVN: rc-scripts/trunk/rc.d/init.d/cpusets

Jakub Bogusz qboosh at pld-linux.org
Thu Dec 7 22:27:46 CET 2006


On Thu, Dec 07, 2006 at 10:18:09PM +0100, glen wrote:
> Author: glen
> +if is_yes "${CPUSETS}" && ! grep -q "/dev/cpuset" /proc/mounts ; then
> +	nls "ERROR: CPUSET support not enabled in kernel or /dev/cpuset not mounted" >&2
>  	exit 0
>  fi

If it's error, exit code shouldn't be 0.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list