From 81330365cdbd0fe514a7a64504140b1a358061fe Mon Sep 17 00:00:00 2001 From: phamt Date: Thu, 14 Apr 2011 00:07:05 +0000 Subject: [PATCH] Changed return of "webrun monls" to show shorter text: "On" or "Off". git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/web.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/web.pm b/xCAT-server/lib/xcat/plugins/web.pm index 73b99e9fb..9e7ecae94 100644 --- a/xCAT-server/lib/xcat/plugins/web.pm +++ b/xCAT-server/lib/xcat/plugins/web.pm @@ -967,10 +967,10 @@ sub web_monls(){ my @temp = split(/\s+/, $line); $ret .= @temp[0]; if('not-monitored' eq @temp[1]){ - $ret .= ':Not Monitored;'; + $ret .= ':Off;'; } else{ - $ret .= ':Monitored;'; + $ret .= ':On;'; } } if ('' eq $ret){