lib/specinfra/command/base.rb in specinfra-1.25.7 vs lib/specinfra/command/base.rb in specinfra-1.25.8

- old
+ new

@@ -28,10 +28,10 @@ raise NotImplementedError.new end def check_mounted(path) regexp = "on #{path} " - "mount | grep -w -- #{escape(regexp)}" + "mount | grep -- '#{escape(regexp)}'" end def check_routing_table(destination) "ip route | grep -E '^#{destination} |^default '" end