aboutsummaryrefslogtreecommitdiff
path: root/sh/rc-functions.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'sh/rc-functions.sh.in')
-rw-r--r--sh/rc-functions.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/rc-functions.sh.in b/sh/rc-functions.sh.in
index 206d6c0f..751d47a3 100644
--- a/sh/rc-functions.sh.in
+++ b/sh/rc-functions.sh.in
@@ -58,6 +58,7 @@ get_bootparam()
set -- $(cat /proc/cmdline)
while [ -n "$1" ]; do
+ [ "$1" = "${match}" ] && return 0
case "$1" in
gentoo=*)
local params="${1##*=}"