summaryrefslogtreecommitdiff
path: root/pre-install.d/50uncommitted-changes
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-08-08 21:21:22 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-08-08 21:21:22 -0400
commit116e771648e304d3dbacc4e91534b18a06ba0f67 (patch)
tree99972b19a0d8d60207b333f050ce5137573e8738 /pre-install.d/50uncommitted-changes
parent14d52d954cd05eb61cb2d35aabc0fafe7f380ba2 (diff)
Avoid infinite loop when displaying message about failure to commit changes in /etc. Closes: #540596
Diffstat (limited to 'pre-install.d/50uncommitted-changes')
-rwxr-xr-xpre-install.d/50uncommitted-changes1
1 files changed, 1 insertions, 0 deletions
diff --git a/pre-install.d/50uncommitted-changes b/pre-install.d/50uncommitted-changes
index 47750ac..d03d0e8 100755
--- a/pre-install.d/50uncommitted-changes
+++ b/pre-install.d/50uncommitted-changes
@@ -7,6 +7,7 @@ if [ "$1" = "fail-debconf" ]; then
db_input critical etckeeper/commit_failed || true
db_go || true
db_reset etckeeper/commit_failed || true
+ exit 0
fi
if etckeeper unclean; then