From: adilger Date: Thu, 29 Aug 2002 16:33:13 +0000 (+0000) Subject: Handle the case where the XML file has not yet been created. X-Git-Tag: 0.5.5~12 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c08e72dd3c706316c0dbaecc5236bf09dcbe7c6c;p=fs%2Flustre-release.git Handle the case where the XML file has not yet been created. --- diff --git a/lustre/tests/llmount.sh b/lustre/tests/llmount.sh index e5b5242..3ee4a534 100755 --- a/lustre/tests/llmount.sh +++ b/lustre/tests/llmount.sh @@ -7,7 +7,7 @@ NAME=local config=$NAME.xml mkconfig=./$NAME.sh -if [ $mkconfig -nt $local.xml ]; then +if [ ! -f $local.xml -o $mkconfig -nt $local.xml ]; then $mkconfig $config || exit 1 fi