Skip to content

Commit 7ecf952

Browse files
authored
notifications: Use OS X's pgrep
Always use OS X's BSD `pgrep` instead of (for example) the proctools version that is in the `PATH` earlier.
1 parent ff00dcd commit 7ecf952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/travis/tools/system.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def has?(command)
8181

8282
def running?(app)
8383
return false unless unix?
84-
system "pgrep -u $(whoami) #{app} >/dev/null"
84+
system "/usr/bin/pgrep -u $(whoami) #{app} >/dev/null"
8585
end
8686
end
8787
end

0 commit comments

Comments
 (0)