Commits

Kevin Bullock committed 4a764d9

restore a missing space in start command

Error introduced in ab0b96bb80ac, reported at
<https://github.com/krbullock/vlad-unicorn/issues/7>;.

Comments (0)

Files changed (1)

lib/vlad/unicorn_common.rb

     def self.start_unicorn(opts = '')
       cmd = %(#{unicorn_command} -D --config-file "#{unicorn_config}")
       cmd << %( -E "#{unicorn_env}") if unicorn_env
-      cmd << opts
+      cmd << %( #{opts}) if opts and !opts.empty?
       if unicorn_use_bundler
         [unicorn_bundle_cmd, cmd].join(' ')
       else