diff options
author | Azul <azul@riseup.net> | 2016-05-25 12:55:09 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-05-25 12:55:09 +0200 |
commit | 62e27158a4fda768377df17430d154c2aae03f5d (patch) | |
tree | 7f47dd1db6163d898d62c2af47800c31c28eda83 /lib | |
parent | b883fa9e91ffd7c526a17f37df54ef63c5c6a4b8 (diff) |
rubocop: fix deprecated class methods
Diffstat (limited to 'lib')
-rw-r--r-- | lib/nickserver/daemon.rb | 2 |
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) |