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 /scripts/functions | |
parent | 4857b243fc2c8b1148041320fd923fab4b1d7a6e (diff) | |
download | initramfs-tools-270657ae007b35223c57829bfa6ed2e331eed851.tar.gz initramfs-tools-270657ae007b35223c57829bfa6ed2e331eed851.zip |
Call panic on circular deps to get rescue shell.
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 3 |
1 files changed, 1 insertions, 2 deletions
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 } |