Skip to content

Commit

Permalink
Fix problem with group_name being nil after parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
tranchis committed Jan 23, 2015
1 parent 593bae4 commit 656b791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/service/supervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def processes
def supervisorctl_args
processes = processes().select { |process| process[:program_name] == self.program_name }
args = processes.map do |process|
if process[:group_name].empty?
if process[:group_name] == nil || process[:group_name].empty?
"#{process[:process_name]}"
else
"#{process[:group_name]}:#{process[:process_name]}"
Expand Down

0 comments on commit 656b791

Please sign in to comment.