summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-01-23 21:39:16 +0100
committermaximilian attems <maks@debian.org>2006-01-23 21:39:16 +0100
commit270657ae007b35223c57829bfa6ed2e331eed851 (patch)
tree9ce6b235fd6596260dab1a8ba3289cf0d0a3a211 /scripts/functions
parent4857b243fc2c8b1148041320fd923fab4b1d7a6e (diff)
downloadinitramfs-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/functions3
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
}