summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2008-12-14 19:19:32 +0100
committermaximilian attems <maks@debian.org>2008-12-14 19:19:32 +0100
commite0ff2bedbd4da0c0638c21b2c2736d9a47415f73 (patch)
treee151c4acd90e95592880f69b537e17b089f2573c /scripts/functions
parentca53be13ebbb8e00ead2d170c10e66cdb6fc91f3 (diff)
scripts/functions: fix not set break variable
thanks martin f krafft <madduck@debian.org> closes: #502058
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 758dd4f..85a5138 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -55,7 +55,7 @@ panic()
maybe_break()
{
- if [ "${break}" = "$1" ]; then
+ if [ "${break:-}" = "$1" ]; then
panic "Spawning shell within the initramfs"
fi
}