summaryrefslogtreecommitdiff
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
parent4857b243fc2c8b1148041320fd923fab4b1d7a6e (diff)
downloadinitramfs-tools-270657ae007b35223c57829bfa6ed2e331eed851.tar.gz
initramfs-tools-270657ae007b35223c57829bfa6ed2e331eed851.zip
Call panic on circular deps to get rescue shell.
-rw-r--r--debian/changelog6
-rw-r--r--scripts/functions3
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
}