update.sh: Use full path to pkill

Fixes #1600.
This commit is contained in:
Baptiste Fontaine 2016-12-01 20:59:41 +01:00
parent 8f82e89d0b
commit bff8e8440e

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"