From 2716933a029abe6a9bf43046dea43cebd005ac17 Mon Sep 17 00:00:00 2001 From: yujian Date: Thu, 20 Jul 2006 10:20:00 +0000 Subject: [PATCH] Add more verbose messages. --- lustre/scripts/lustre_config.sh.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lustre/scripts/lustre_config.sh.in b/lustre/scripts/lustre_config.sh.in index 746368d..a8dfd9e 100644 --- a/lustre/scripts/lustre_config.sh.in +++ b/lustre/scripts/lustre_config.sh.in @@ -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 -- 1.8.3.1