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##*=}"