move warning

This commit is contained in:
James Barnett 2016-05-08 21:18:55 -05:00
parent d4cf0fa183
commit e981f3c729

View file

@ -44,14 +44,14 @@ else
exit 1 exit 1
fi fi
declare -r pre_or_post=$1
declare -r pacman_cmd="$(sed 's./usr/bin/pacman.pacman.g' <(ps -C pacman -o args=))"
if [[ -z "$SNAPPER_CONFIGS" ]]; then if [[ -z "$SNAPPER_CONFIGS" ]]; then
echo "WARNING: No snapper configurations found, so not taking any snapshots!" echo "WARNING: No snapper configurations found, so not taking any snapshots!"
exit 1 exit 1
fi fi
declare -r pre_or_post=$1
declare -r pacman_cmd="$(sed 's./usr/bin/pacman.pacman.g' <(ps -C pacman -o args=))"
declare -i x=0 declare -i x=0
for CONFIG in $SNAPPER_CONFIGS; do for CONFIG in $SNAPPER_CONFIGS; do