add description if pacman was not found to be running

This commit is contained in:
James Barnett 2017-02-03 07:46:58 -06:00
parent ac28d14ed8
commit c5b822c2dd
No known key found for this signature in database
GPG key ID: E4B5E45AA3B8C5C3

View file

@ -103,6 +103,10 @@ declare -r pre_or_post=$1
declare pacman_cmd declare pacman_cmd
pacman_cmd="$(sed 's./usr/bin/pacman.pacman.g' <(ps -C pacman -o args=))" pacman_cmd="$(sed 's./usr/bin/pacman.pacman.g' <(ps -C pacman -o args=))"
if [[ -z "$pacman_cmd" ]]; then
pacman_cmd="pacman"
fi
declare -i x=0 declare -i x=0
for CONFIG in $SNAPPER_CONFIGS; do for CONFIG in $SNAPPER_CONFIGS; do