Skip to content

Commit 23f3a4a

Browse files
committed
Remove debug code
1 parent d60c50e commit 23f3a4a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/main/ruby/core/process.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,7 @@ def self.setproctitle_linux_from_proc_maps(title)
220220
haystack = base_ptr.read_string(size)
221221

222222
i = haystack.index("\x00#{command}")
223-
unless i
224-
puts
225-
p command
226-
puts
227-
p haystack
228-
puts
229-
raise 'argv[0] not found'
230-
end
223+
raise 'argv[0] not found' unless i
231224
i += 1
232225

233226
@_argv0_max_length = command.bytesize

0 commit comments

Comments
 (0)