Merge pull request #1604 from bfontaine/pkill

update.sh: Use full path to pkill
This commit is contained in:
Mike McQuaid 2016-12-02 10:01:09 +00:00 committed by GitHub
commit 5bbd64141e

View File

@ -417,7 +417,7 @@ EOS
safe_cd "$HOMEBREW_REPOSITORY"
# kill all of subprocess on interrupt
trap '{ pkill -P $$; wait; exit 130; }' SIGINT
trap '{ /usr/bin/pkill -P $$; wait; exit 130; }' SIGINT
local update_failed_file="$HOMEBREW_REPOSITORY/.git/UPDATE_FAILED"
rm -f "$update_failed_file"