This is an automated email from the git hooks/post-receive script. demize pushed a commit to branch master in repository pacman-contrib. View the commit online: https://git.archlinux.org/pacman-contrib.git/commit/?id=8effb4140d7b39e4196c... commit 8effb4140d7b39e4196c14d54834c632833daa00 Author: Johannes Löthberg <johannes@kyriasis.com> AuthorDate: Wed Oct 12 11:57:55 2016 +0200 paccache: Exit when privilege escalation fails Pipelines run in subshells, so we need to set errexit for privilege escalation failing to exit the script properly. Fixes FS#44850. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> --- src/paccache.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/paccache.sh.in b/src/paccache.sh.in index a7f9d62..e34f684 100644 --- a/src/paccache.sh.in +++ b/src/paccache.sh.in @@ -353,6 +353,9 @@ unset candtemp # do this before we destroy anything totalsaved=$(@SIZECMD@ "${candidates[@]}" | awk '{ sum += $1 } END { print sum }') +# Exit immediately if a pipeline returns non-zero. +set -o errexit + # crush. kill. destroy. (( verbose )) && cmdopts+=(-v) if (( delete )); then -- To stop receiving notification emails like this one, please contact the administrator of this repository.