Whamcloud - gitweb
Handle the case where the XML file has not yet been created.
authoradilger <adilger>
Thu, 29 Aug 2002 16:33:13 +0000 (16:33 +0000)
committeradilger <adilger>
Thu, 29 Aug 2002 16:33:13 +0000 (16:33 +0000)
lustre/tests/llmount.sh

index e5b5242..3ee4a53 100755 (executable)
@@ -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