summaryrefslogtreecommitdiff
path: root/etckeeper
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-09-04 15:32:35 -0400
committerJoey Hess <joey@kitenet.net>2014-09-04 15:32:35 -0400
commit81d3328154d544d4e857810a81e6080105065e5f (patch)
tree1cab49be7096ac9fed5894e6457f9c3ce243adf6 /etckeeper
parent7916f15be8169689a3b6c9d0efa6762f204109d1 (diff)
Revert "Avoid propigating nonzero exit status of any command called by etckeeper out to the caller. This is to avoid making apt give up because git is misconfigured and cannot commit, or similar. Closes: #760011"
This reverts commit 1b70e83dddcafbcbea84fc55a6396e4876a9a0c4. This approach breaks the AVOID_COMMIT_BEFORE_INSTALL feature.
Diffstat (limited to 'etckeeper')
-rwxr-xr-xetckeeper7
1 files changed, 0 insertions, 7 deletions
diff --git a/etckeeper b/etckeeper
index d3165eb..554ada9 100755
--- a/etckeeper
+++ b/etckeeper
@@ -126,12 +126,5 @@ lsscripts() {
}
for script in $(lsscripts "$ETCKEEPER_CONF_DIR/$command.d"); do
- set +e
"$script" "$@"
- status=$?
- set -e
- if [ "$status" != 0 ]; then
- echo "etckeeper script $script exited $status" >&1
- exit 0
- fi
done