From 7cd7ebb719c1a9cf992b2a82a148f4201ceec664 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 5 Dec 2012 12:54:57 +0000 Subject: [PATCH] fix parsing of the args git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatdsklspost | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index c4039e65b..7b71d0b98 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -149,12 +149,12 @@ else TFTPDIR=$6 fi fi - if [ $ARGNUM -gt 5 ]; then + if [ $ARGNUM -gt 6 ]; then if [ $7 = "--installdir" ]; then INSTALLDIR=$8 fi fi - if [ $ARGNUM -gt 6 ]; then + if [ $ARGNUM -gt 8 ]; then if [ $9 = "--nfsv4" ]; then NFSV4=$10 fi