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
115
115
end
116
116
end
117
117
else
118
- litestream_replicate_ps = `ps -a | grep litestream | grep replicate` . chomp
118
+ litestream_replicate_ps = `ps -ax | grep litestream | grep replicate` . chomp
119
119
litestream_replicate_ps . split ( "\n " ) . each do |line |
120
120
next unless line . include? ( "litestream replicate" )
121
121
pid , * = line . split ( " " )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def test_replicate_process_ps
41
41
42
42
stubbed_backticks = proc do |arg |
43
43
case arg
44
- when "ps -a | grep litestream | grep replicate"
44
+ when "ps -ax | grep litestream | grep replicate"
45
45
stubbed_ps_list
46
46
when %(ps -o "state,lstart" 40364)
47
47
stubbed_ps_status
You can’t perform that action at this time.
0 commit comments