suf
This commit is contained in:
parent
1a1ed818f4
commit
68c9c264d6
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue