diff --git a/features/support/remote_command_helpers.rb b/features/support/remote_command_helpers.rb index 91420c1f..bafdf560 100644 --- a/features/support/remote_command_helpers.rb +++ b/features/support/remote_command_helpers.rb @@ -17,8 +17,8 @@ module RemoteCommandHelpers def safely_remove_file(_path) run_vagrant_command("rm #{test_file}") - rescue - VagrantHelpers::VagrantSSHCommandError + rescue VagrantHelpers::VagrantSSHCommandError + nil end end