diff options
author | maximilian attems <maks@debian.org> | 2006-01-23 21:39:16 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2006-01-23 21:39:16 +0100 |
commit | 270657ae007b35223c57829bfa6ed2e331eed851 (patch) | |
tree | 9ce6b235fd6596260dab1a8ba3289cf0d0a3a211 | |
parent | 4857b243fc2c8b1148041320fd923fab4b1d7a6e (diff) | |
download | initramfs-tools-270657ae007b35223c57829bfa6ed2e331eed851.tar.gz initramfs-tools-270657ae007b35223c57829bfa6ed2e331eed851.zip |
Call panic on circular deps to get rescue shell.
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | scripts/functions | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 4d3195f..f354777 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +initramfs-tools (0.51) unstable; urgency=low + + * scripts/functions: Call panic on circular deps to get rescue shell. + + -- maximilian attems <maks@sternwelten.at> Mon, 23 Jan 2006 21:37:45 +0100 + initramfs-tools (0.50c) unstable; urgency=low "E so io muoio da partigiano" diff --git a/scripts/functions b/scripts/functions index cde870d..f9cad01 100644 --- a/scripts/functions +++ b/scripts/functions @@ -138,8 +138,7 @@ reduce_prereqs() fi done if [ ${i} -eq ${oldi} ]; then - echo "PANIC: Circular dependancy. Exiting." >&2 - exit 1 + panic "PANIC: Circular dependancy. Exiting." fi done } |