summaryrefslogtreecommitdiffstats
path: root/templates/glusterd.vol.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/glusterd.vol.erb')
-rw-r--r--templates/glusterd.vol.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/glusterd.vol.erb b/templates/glusterd.vol.erb
index 31853ba..a258b9a 100644
--- a/templates/glusterd.vol.erb
+++ b/templates/glusterd.vol.erb
@@ -8,7 +8,7 @@ volume management
<% if @valid_rpcauthallowinsecure -%>
option rpc-auth-allow-insecure on
<% end -%>
-<% if @valid_baseport > 0 -%>
+<% if @valid_baseport.to_i > 0 -%>
option base-port <%= @valid_baseport %>
<% else -%>
# option base-port 49152