fix bug#2685843

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ellen56 2009-03-13 06:37:44 +00:00
parent 12c90e5c5f
commit 2ffe297968

View File

@ -909,7 +909,7 @@ sub deconfGmond
my $node = join(',',@children);
print "the children are: $node \n";
print "saving the configured Gmond file in childern \n";
if (-e "/etc/ganglia")
if (-e "/etc/ganglia/gmond.conf")
{ # opening if V3.1.0
print "Ganglia V 3.1.0 \n";
my $res_sv = `XCATBYPASS=Y $::XCATROOT/bin/xdsh $node /bin/cp -f /etc/ganglia/gmond.conf /etc/ganglia/gmond.conf.save`;