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

(cherry picked from commit 2c48d0185b)
This commit is contained in:
Alejandro Huertas Herrero authored and Ruben S. Montero committed 2020-09-10 10:29:52 +02:00
1 parent 66931b1623
commit 2bd844381d
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
}
}