summaryrefslogtreecommitdiff
path: root/lib/nickserver
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nickserver')
-rw-r--r--lib/nickserver/daemon.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nickserver/daemon.rb b/lib/nickserver/daemon.rb
index a7326d9..7d0f02a 100644
--- a/lib/nickserver/daemon.rb
+++ b/lib/nickserver/daemon.rb
@@ -105,7 +105,7 @@ module Nickserver
def kill_pid
file = Config.pid_file
- if File.exists?(file)
+ if File.exist?(file)
pid = pid_from_file(file)
if pid
Process.kill('TERM', pid)