update documentation on PACMAN_ABORT_ON_FAIL
This commit is contained in:
parent
47f124dec6
commit
5417160503
2 changed files with 10 additions and 1 deletions
|
|
@ -51,6 +51,15 @@ which is `"yes"`.
|
||||||
* `PACMAN_POST_DESCRIPTION` - snapper description used for the pacman post snapshot.
|
* `PACMAN_POST_DESCRIPTION` - snapper description used for the pacman post snapshot.
|
||||||
Default is the pacman command that called the 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
|
These settings only need to be added to the snapper configuration files if you
|
||||||
want to change the default.
|
want to change the default.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ if [[ -f "$SNAPPER_CONFIG_FILE" ]]; then
|
||||||
source "$SNAPPER_CONFIG_FILE"
|
source "$SNAPPER_CONFIG_FILE"
|
||||||
else
|
else
|
||||||
echo -e "$ERRORMSG $SNAPPER_CONFIG_FILE does not exist!"
|
echo -e "$ERRORMSG $SNAPPER_CONFIG_FILE does not exist!"
|
||||||
exit 0
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $EUID -ne 0 ]]; then
|
if [[ $EUID -ne 0 ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue