lib/bluepill/process.rb in bluepill-0.0.63 vs lib/bluepill/process.rb in bluepill-0.0.64

- old
+ new

@@ -279,10 +279,10 @@ ProcessJournal.kill_all_from_journal(name) # be sure nothing else is running from previous runs pre_start_process logger.warning "Executing start command: #{start_command}" if self.daemonize? daemon_id = System.daemonize(start_command, self.system_command_options) - if daemon_id > 0 + if daemon_id ProcessJournal.append_pid_to_journal(name, daemon_id) children.each {|child| ProcessJournal.append_pid_to_journal(name, child.actual_id) } if self.monitor_children? end