File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ def replicate_process
115115 end
116116 end
117117 else
118- litestream_replicate_ps = `ps -a | grep litestream | grep replicate` . chomp
118+ litestream_replicate_ps = `ps -ax | grep litestream | grep replicate` . chomp
119119 litestream_replicate_ps . split ( "\n " ) . each do |line |
120120 next unless line . include? ( "litestream replicate" )
121121 pid , * = line . split ( " " )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def test_replicate_process_ps
4141
4242 stubbed_backticks = proc do |arg |
4343 case arg
44- when "ps -a | grep litestream | grep replicate"
44+ when "ps -ax | grep litestream | grep replicate"
4545 stubbed_ps_list
4646 when %(ps -o "state,lstart" 40364)
4747 stubbed_ps_status
You can’t perform that action at this time.
0 commit comments