Whamcloud - gitweb
Handle the case where the XML file has not yet been created.
[fs/lustre-release.git] / 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