kiss: make pre-remove errors fatal

This commit is contained in:
Dylan Araps 2021-07-06 22:14:57 +03:00
parent 825e0305bf
commit 422262d629
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -1186,7 +1186,7 @@ pkg_remove() {
if [ -x "$sys_db/$1/pre-remove" ]; then
log "$1" "Running pre-remove script"
"$sys_db/$1/pre-remove" || :
"$sys_db/$1/pre-remove"
fi
# Make a backup of the etcsums file (if it exists).