diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index eb902c6..d6a841a 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -1,6 +1,6 @@ #!/usr/local/bin/ruby -w -# $Dwarf: ripnews.rb,v 1.91 2005/01/30 18:43:17 ward Exp $ +# $Dwarf: ripnews.rb,v 1.92 2005/02/01 09:33:56 ward Exp $ # $Source$ # @@ -320,7 +320,7 @@ def lock if pid pid.chomp! begin - Process.kill(0, pid) + Process.kill(0, pid.to_i) print "Already running, exiting...\n" exit rescue Errno::ESRCH