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;