We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19effa7 commit 54705eeCopy full SHA for 54705ee
1 file changed
modules/auxiliary/admin/http/jboss_bshdeployer.rb
@@ -126,8 +126,9 @@ def run
126
127
case action.name
128
when 'Deploy'
129
- unless File.exist?(datastore['WARFILE'])
+ unless datastore['WARFILE'] && File.exist?(datastore['WARFILE'])
130
print_error("WAR file not found")
131
+ return
132
end
133
war_data = File.read(datastore['WARFILE'])
134
deploy_action(app_base, war_data)
0 commit comments