From 87bb1c28ad3aa0931db006cf91ca40baa7de82d9 Mon Sep 17 00:00:00 2001 From: jjhua Date: Fri, 11 Jan 2013 11:44:47 +0000 Subject: [PATCH] correct the syntax git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatpostinit1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatpostinit1 b/xCAT/postscripts/xcatpostinit1 index b80726505..8e2ee30d5 100755 --- a/xCAT/postscripts/xcatpostinit1 +++ b/xCAT/postscripts/xcatpostinit1 @@ -36,7 +36,7 @@ start) REBOOT=`grep 'REBOOT' /opt/xcat/xcatinfo |cut -d= -f2` fi # if the xcatdsklspost file exists and this is a reboot - run xcatdsklspost with a mode of 6 - if [ "$REBOOT" = "TRUE" -a -r /opt/xcat/xcatdsklspost ]; then + if [ "$REBOOT" = "TRUE" ] && [ -r /opt/xcat/xcatdsklspost ]; then /opt/xcat/xcatdsklspost 6 else # run /opt/xcat/xcatinstallpost