b1eee22 grubby-bls: always escape the delimiter character used in sed commands

Authored and Committed by javierm 4 years ago
1 file changed. 2 lines added. 1 lines removed.
    grubby-bls: always escape the delimiter character used in sed commands
    
    The forward slash character is used as the delimiter for sed substitutions
    so this is escaped before calling sed.
    
    But this was only done before removing parameters from the kernel command
    and not when adding it. Use it for all the cases when the parameters are
    replaced in the update_args() function.
    
    Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
    
        
file modified
+2 -1