B #5074: show error if attach file doesn't exist (#199)

This commit is contained in:
Alejandro Huertas Herrero authored and GitHub committed 2020-09-10 10:29:22 +02:00
1 parent fa536dc4fa
commit 2c48d0185b
1 file changed
+2 -1
+2 -1
View File
@@ -100,7 +100,8 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
if File.file?(o)
options[:file] = o
else
exit - 1
STDERR.puts "File `#{options[:file]}` doesn't exist"
exit(-1)
end
}
}