lib/lumberg/format_whm.rb in lumberg-2.0.0.pre7 vs lib/lumberg/format_whm.rb in lumberg-2.0.0.pre8
- old
+ new
@@ -123,12 +123,14 @@
end
return success, message, res
end
def format_whostmgr_response(response)
- message = "You have successfully deleted the SSL host"
+ message = "successfully deleted|deleted successfully"
if res = response.match(/(?<message>#{message})/)
return true, res[:message], []
+ else
+ return false, "", []
end
end
end
end