Permalink
Browse files

Removing daemon exception -- redundant

  • Loading branch information...
1 parent 8c8fdf6 commit 3c273f3d2d933abcb4ab7d4e978bb6e1e56e4f64 @veloper committed Mar 1, 2014
Showing with 0 additions and 9 deletions.
  1. +0 −5 lib/zeusd/daemon.rb
  2. +0 −4 lib/zeusd/daemon_exception.rb
View
@@ -3,7 +3,6 @@
require 'pathname'
require 'file-tail'
-require 'zeusd/daemon_exception'
require 'zeusd/daemon_logging'
module Zeusd
@@ -41,10 +40,6 @@ def stop!
# Clean up socket file if stil exists
(zeus_socket_file.delete rescue nil) if zeus_socket_file.exist?
- # Check for remaining processes
- living_processes = processes.select(&:alive?)
- raise DaemonException, "Unable to KILL processes: " + living_processes.join(', ') if living_processes.any?
-
@process = nil
self
@@ -1,4 +0,0 @@
-module Zeusd
- class DaemonException < StandardError
- end
-end

0 comments on commit 3c273f3

Please sign in to comment.