From 1621d288b6ddfc46533375e2254a4b0f3e2de7da Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Thu, 30 Apr 2020 23:07:06 +0200 Subject: [PATCH] grubby-bls: minor style cleanup Signed-off-by: Javier Martinez Canillas --- grubby-bls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grubby-bls b/grubby-bls index 01b99bf..de75da6 100755 --- a/grubby-bls +++ b/grubby-bls @@ -492,7 +492,7 @@ update_bls_fragment() { fi if [[ $param = "ALL" && $bootloader = grub2 ]] && [[ -n $remove_args || -n $add_args ]]; then - local old_args="$(source ${grub_etc_default}; echo ${GRUB_CMDLINE_LINUX})" + local old_args="$(source ${grub_etc_default}; echo ${GRUB_CMDLINE_LINUX})" opts="$(update_args "${old_args}" "${remove_args}" "${add_args}")" opts=$(echo $opts | sed -e 's/\//\\\//g') sed -i -e "s/^GRUB_CMDLINE_LINUX.*/GRUB_CMDLINE_LINUX=\\\"${opts}\\\"/" "${grub_etc_default}"