File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ def no_activity?(seconds)
432432 end
433433
434434 def pid_file_available?
435- File . exist? ( @pid_file ) && !File . empty ?( @pid_file )
435+ File . exist? ( @pid_file ) && !File . zero ?( @pid_file )
436436 end
437437
438438 # This method does nothing and only serves as a hook for the unit test.
@@ -747,10 +747,10 @@ def ping_tcp_socket(sockaddr)
747747 end
748748
749749 def ruby_interpreter
750- rb_config = defined? ( RbConfig ) ? RbConfig ::CONFIG : Config ::CONFIG
750+ rb_config = defined? ( RbConfig ) ? RbConfig ::CONFIG : Config ::CONFIG
751751 File . join (
752752 rb_config [ "bindir" ] ,
753- rb_config . values_at ( "RUBY_INSTALL_NAME" , "EXEEXT" ) . join
753+ rb_config . values_at ( "RUBY_INSTALL_NAME" , "EXEEXT" ) . join
754754 )
755755 end
756756
You can’t perform that action at this time.
0 commit comments