diff --git a/lib/vagrant-sshfs/cap/host/linux/sshfs_reverse_mount.rb b/lib/vagrant-sshfs/cap/host/linux/sshfs_reverse_mount.rb index b8b9b3b..48ba22d 100644 --- a/lib/vagrant-sshfs/cap/host/linux/sshfs_reverse_mount.rb +++ b/lib/vagrant-sshfs/cap/host/linux/sshfs_reverse_mount.rb @@ -14,8 +14,6 @@ def self.sshfs_reverse_is_folder_mounted(env, opts) hostpath = opts[:hostpath].dup hostpath.gsub!("'", "'\\\\''") hostpath = hostpath.chomp('/') # remove trailing / if exists - cat_cmd = Vagrant::Util::Which.which('cat') - result = Vagrant::Util::Subprocess.execute(cat_cmd, '/proc/mounts') mounts = File.open('/proc/mounts', 'r') mounts.each_line do |line| if line.split()[1] == hostpath