Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/loops/commands/monitor_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def execute
Loops.logger.write_to_console = true

# Set process name
$0 = "loops monitor: #{options[:args].join(' ') rescue 'all'}\0"
$0 = "loops monitor: #{options[:args].join(' ') rescue 'all'}"

# Start loops and let the monitor process take over
puts "Starting loops in monitor mode..."
Expand Down
2 changes: 1 addition & 1 deletion lib/loops/commands/start_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def execute

# Daemonization
if options[:daemonize]
app_name = "loops monitor: #{options[:args].join(' ') rescue 'all'}\0"
app_name = "loops monitor: #{options[:args].join(' ') rescue 'all'}"
Loops::Daemonize.daemonize(app_name)
end

Expand Down