diff --git a/src/install.js b/src/install.js index 9c64acdc28..92e155aecf 100644 --- a/src/install.js +++ b/src/install.js @@ -46,15 +46,15 @@ var async = require('async'), break; case 'redis:host': config.redis = config.redis || {}; - config.redis.host = value; + if (value !== '') config.redis.host = value; break; case 'redis:port': config.redis = config.redis || {}; - config.redis.port = value; + if (value !== '') config.redis.port = value; break; case 'redis:password': config.redis = config.redis || {}; - config.redis.password = value; + if (value !== '') config.redis.password = value; break; default: