From: Mark Huang Date: Wed, 7 Feb 2007 18:45:42 +0000 (+0000) Subject: - fix exit/return mixup X-Git-Tag: myplc-4.0-15~104 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=581cb74d99821655811fd34c71e40c4b1c2fbdad - fix exit/return mixup --- diff --git a/plc.d/bootcd b/plc.d/bootcd index ca5a65e..87aa0e2 100755 --- a/plc.d/bootcd +++ b/plc.d/bootcd @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: bootcd,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ +# $Id: bootcd,v 1.3 2006/06/23 20:29:22 mlhuang Exp $ # # Source function library and configuration @@ -21,7 +21,7 @@ case "$1" in start) if [ "$PLC_BOOT_ENABLED" != "1" -a \ "$PLC_WWW_ENABLED" != "1" ] ; then - return 0 + exit 0 fi MESSAGE=$"Rebuilding Boot CD" diff --git a/plc.d/bootmanager b/plc.d/bootmanager index 3fd204a..8a48e3b 100755 --- a/plc.d/bootmanager +++ b/plc.d/bootmanager @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: bootmanager,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ +# $Id: bootmanager,v 1.3 2006/06/23 20:29:22 mlhuang Exp $ # # Source function library and configuration @@ -21,7 +21,7 @@ case "$1" in start) if [ "$PLC_BOOT_ENABLED" != "1" -a \ "$PLC_WWW_ENABLED" != "1" ] ; then - return 0 + exit 0 fi MESSAGE=$"Rebuilding Boot Manager"