diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-08-08 21:21:22 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-08-08 21:21:22 -0400 |
commit | 116e771648e304d3dbacc4e91534b18a06ba0f67 (patch) | |
tree | 99972b19a0d8d60207b333f050ce5137573e8738 | |
parent | 14d52d954cd05eb61cb2d35aabc0fafe7f380ba2 (diff) |
Avoid infinite loop when displaying message about failure to commit changes in /etc. Closes: #540596
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | pre-install.d/50uncommitted-changes | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index eb5305b..7fae262 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ etckeeper (0.40) UNRELEASED; urgency=low * Add Spanish debconf translation. Closes: #539589 * Updated Italian debconf translation. Closes: #540516 + * Avoid infinite loop when displaying message about failure + to commit changes in /etc. Closes: #540596 -- Joey Hess <joeyh@debian.org> Sun, 02 Aug 2009 11:36:07 -0400 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 |