From e775eff58c14c5156c9208c1ec0e97a8fb95e401 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Thu, 7 May 2009 01:17:50 +0100 Subject: [PATCH] Need to cast to a string to evaluate Signed-off-by: Stephen Gran --- modules/exim/templates/eximconf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 81c7ec470..e9f332c41 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -194,7 +194,7 @@ if nodeinfo['bugsmaster'] ports << 587 end -if not nodeinfo['mail_port'].empty? +if not nodeinfo['mail_port'].to_s.empty? ports << nodeinfo['mail_port'] end -- 2.20.1