lib/sprinkle/verifiers/process.rb in sprinkle-0.3.1 vs lib/sprinkle/verifiers/process.rb in sprinkle-0.3.2

- old
+ new

@@ -12,10 +12,10 @@ Sprinkle::Verify.register(Sprinkle::Verifiers::Process) # Checks to make sure <tt>process</tt> is a process running # on the remote server. def has_process(process) - @commands << "ps aux | grep '#{process}' | grep -v grep" + @commands << "ps -C #{process}" end end end -end \ No newline at end of file +end