move warning
This commit is contained in:
parent
d4cf0fa183
commit
e981f3c729
1 changed files with 3 additions and 3 deletions
6
snap-pac
6
snap-pac
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue