update documentation on PACMAN_ABORT_ON_FAIL

This commit is contained in:
James Barnett 2016-08-31 21:03:46 -05:00
parent 47f124dec6
commit 5417160503
2 changed files with 10 additions and 1 deletions

View file

@ -51,6 +51,15 @@ which is `"yes"`.
* `PACMAN_POST_DESCRIPTION` - snapper description used for the pacman post snapshot.
Default is the pacman command that called the snapshot.
The following setting can be changed in the snapper configuration file
`/etc/conf.d/snapper`:
* `PACMAN_ABORT_ON_FAIL` - If for some reason there is an error taking the pre
snapshot, abort the pacman transaction if this is set to `"yes"`. Default is
`"no"`, meaning if there is an error taking the pre snapshot then continue with
the pacman transaction as normal. Any other value than `"no"` is treated the
same as `"yes"`.
These settings only need to be added to the snapper configuration files if you
want to change the default.

View file

@ -33,7 +33,7 @@ if [[ -f "$SNAPPER_CONFIG_FILE" ]]; then
source "$SNAPPER_CONFIG_FILE"
else
echo -e "$ERRORMSG $SNAPPER_CONFIG_FILE does not exist!"
exit 0
exit 1
fi
if [[ $EUID -ne 0 ]]; then