summaryrefslogtreecommitdiff
path: root/scripts/functions
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 /scripts/functions
parente23c0a34f51d053357fd6c171cd8edfd38bc3df0 (diff)
scripts/functions: style fix for maybe_break()
recover func from previous bogus change..
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 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
}