We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ps
1 parent aaf4ce0 commit 6c8ed8fCopy full SHA for 6c8ed8f
HISTORY.md
@@ -2,6 +2,7 @@
2
3
* Bugfix: Fixed `rand` seeding in child processes.
4
* Bugfix: Better JSON encoding/decoding without Yajl.
5
+* Bugfix: Avoid `ps` flag error on Linux
6
7
## 1.2.2 (2009-12-08)
8
lib/resque/worker.rb
@@ -246,7 +246,7 @@ def shutdown!
246
def kill_child
247
if @child
248
log! "Killing child at #{@child}"
249
- if system("ps -ho pid,state -p #{@child}")
+ if system("ps -o pid,state -p #{@child}")
250
Process.kill("KILL", @child) rescue nil
251
else
252
log! "Child #{@child} not found, restarting."
0 commit comments