From 90981fa285fd27ea3004c64f9d3d6ead19e86a7f Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 10 May 2011 20:43:53 -0300 Subject: [syslinux-iso] fix regression in kernel_cmdline helper function Fix FS#24203. Regression introduced at commit b171f8f11fdc04a22c7b8f3ff3b9dd164986daae Signed-off-by: Gerardo Exequiel Pozzi --- configs/syslinux-iso/overlay/etc/archiso/functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configs') diff --git a/configs/syslinux-iso/overlay/etc/archiso/functions b/configs/syslinux-iso/overlay/etc/archiso/functions index 02b41cf..9fffdcb 100644 --- a/configs/syslinux-iso/overlay/etc/archiso/functions +++ b/configs/syslinux-iso/overlay/etc/archiso/functions @@ -1,10 +1,10 @@ # vim: set ft=sh: -# kernel_cmdline +# kernel_cmdline # Looks for a parameter on the kernel's boot-time command line. # # returns: 0 if param was found. Also prints its value if it was a K=V param. -# 1 if it was not +# 1 if it was not. Also prints value passed as # kernel_cmdline () { @@ -15,6 +15,6 @@ kernel_cmdline () *) continue ;; esac done - + [ -n "${2}" ] && echo "${2}" return 1 } -- cgit v1.2.3-54-g00ecf