Method: Specinfra::Command::Base::File.check_is_mounted
- Defined in:
- lib/specinfra/command/base/file.rb
.check_is_mounted(path) ⇒ Object
103 104 105 106 |
# File 'lib/specinfra/command/base/file.rb', line 103 def check_is_mounted(path) regexp = "on #{path} " "mount | grep -- '#{escape(regexp)}'" end |