Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix warning

Fix `warning: assigned but unused variable - sess_id`
  • Loading branch information...
commit 91d9fa4736c79a9f9cf44227e72f5488ba329e21 1 parent d09e132
@exviva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/daemons/daemonize.rb
View
2  lib/daemons/daemonize.rb
@@ -157,7 +157,7 @@ def call_as_daemon(block, logfile_name = nil, app_name = nil)
rd.close
# Detach from the controlling terminal
- unless sess_id = Process.setsid
+ unless Process.setsid
raise Daemons.RuntimeException.new('cannot detach from controlling terminal')
end
Please sign in to comment.
Something went wrong with that request. Please try again.