Whamcloud - gitweb
Add more verbose messages.
authoryujian <yujian>
Thu, 20 Jul 2006 10:20:00 +0000 (10:20 +0000)
committeryujian <yujian>
Thu, 20 Jul 2006 10:20:00 +0000 (10:20 +0000)
lustre/scripts/lustre_config.sh.in

index 746368d..a8dfd9e 100644 (file)
@@ -944,6 +944,11 @@ mass_config() {
     declare -i pid_num=0
     declare -i i=0
 
+    if [ ${#HOST_NAME[@]} -eq 0 ]; then
+        verbose_output "There are no Lustre targets to be formatted."
+        return 0
+    fi
+
     # Start lnet network in the MGS node
     if ! start_mgs_lnet; then
         return 1