lib/specinfra/command/base.rb in specinfra-1.18.2 vs lib/specinfra/command/base.rb in specinfra-1.18.3
- old
+ new
@@ -78,10 +78,10 @@
def check_user(user)
"id #{escape(user)}"
end
def check_group(group)
- "getent group | grep -wq -- #{escape(group)}"
+ "getent group #{escape(group)}"
end
def check_installed(package, version=nil)
raise NotImplementedError.new
end