lib/specinfra/command/base.rb in specinfra-1.25.5 vs lib/specinfra/command/base.rb in specinfra-1.25.6
- old
+ new
@@ -27,10 +27,10 @@
def check_yumrepo_enabled(repository)
raise NotImplementedError.new
end
def check_mounted(path)
- regexp = "on #{path}"
+ regexp = "on #{path} "
"mount | grep -w -- #{escape(regexp)}"
end
def check_routing_table(destination)
"ip route | grep -E '^#{destination} |^default '"