summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2007-08-07 14:10:17 +0200
committermaximilian attems <maks@debian.org>2007-08-07 14:10:17 +0200
commitf917408f4bb541f44973be3f7ef4a48ba6528e9a (patch)
treedfbb1db6ac17416e343ce5d0bc94a123a76c113d
parente23c0a34f51d053357fd6c171cd8edfd38bc3df0 (diff)
downloadinitramfs-tools-f917408f4bb541f44973be3f7ef4a48ba6528e9a.tar.gz
initramfs-tools-f917408f4bb541f44973be3f7ef4a48ba6528e9a.zip
scripts/functions: style fix for maybe_break()
recover func from previous bogus change..
-rw-r--r--debian/changelog5
-rw-r--r--scripts/functions2
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 91f7ec9..60f216b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,12 +4,13 @@ initramfs-tools (0.90) UNRELEASED; urgency=low
* hook-functions: Fix xen i386 boots with optimized 2.5. (closes: 420754)
Thanks Marco Nenciarini <mnencia@debian.org> for patch.
* debian/control: Bump dep on klibc-utils from etch. (closes: 435031)
- * scripts/functions: Implement non-zero panic bootarg.
+ * scripts/functions: Implement non-zero panic bootarg. Style fix for
+ maybe_break().
[ David Härdeman ]
* hook-functions: Protect all variable with local, plus coding style fixes.
- -- maximilian attems <maks@debian.org> Tue, 07 Aug 2007 01:18:25 +0200
+ -- maximilian attems <maks@debian.org> Tue, 07 Aug 2007 14:09:18 +0200
initramfs-tools (0.89) unstable; urgency=low
diff --git a/scripts/functions b/scripts/functions
index e73874d..2914aea 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -74,7 +74,7 @@ panic()
maybe_break()
{
- if [ -n "${break}" ]; then
+ if [ "${break}" = "$1" ]; then
panic "Spawning shell within the initramfs"
fi
}