From f87877d2fb0972224a4e3c5cb19249eabd3cfef3 Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 22 Oct 2013 13:24:04 -0400 Subject: [PATCH] fixed a minor problem --- xCAT/postscripts/mountinstall | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/mountinstall b/xCAT/postscripts/mountinstall index 1ac5f7412..bf8a0fe86 100755 --- a/xCAT/postscripts/mountinstall +++ b/xCAT/postscripts/mountinstall @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -vx # IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html # This script, ("mountinstall"), is a sample xCAT post script for @@ -28,8 +28,8 @@ if [ -z "$INSTALLDIR" ]; then fi -mount | grep "$MASTER:$INSTALLDIR" -if [ $? -ne 0 ] +mount | grep "$MASTER:$INSTALLDIR on /install" +if [ $? -eq 0 ] then exit 0 fi