From 7a8922ce929126af0207bd6215aaadbc7fdccb04 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 18 Feb 2008 15:35:15 +0000 Subject: [PATCH] Fix check for service already setup git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/Utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT-2.0/xCAT/Utils.pm b/perl-xCAT-2.0/xCAT/Utils.pm index 070e51a2e..32be447f1 100644 --- a/perl-xCAT-2.0/xCAT/Utils.pm +++ b/perl-xCAT-2.0/xCAT/Utils.pm @@ -1352,7 +1352,7 @@ sub isServiceReq my ($class, $nodename, $servicename) = @_; # check if service is already setup - `grep /etc/xCATSN $servicename`; + `grep $servicename /etc/xCATSN`; if ($? == 0) { # service is already setup return 0;