- fix exit/return mixup
authorMark Huang <mlhuang@cs.princeton.edu>
Wed, 7 Feb 2007 18:45:42 +0000 (18:45 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Wed, 7 Feb 2007 18:45:42 +0000 (18:45 +0000)
plc.d/bootcd
plc.d/bootmanager

index ca5a65e..87aa0e2 100755 (executable)
@@ -7,7 +7,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # 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"
index 3fd204a..8a48e3b 100755 (executable)
@@ -7,7 +7,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # 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"