]> git.proxmox.com Git - pve-kernel-meta.git/commitdiff
proxmox-boot: drop useless assignment to self
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 Nov 2021 18:01:32 +0000 (19:01 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 Nov 2021 18:01:32 +0000 (19:01 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-boot/zz-proxmox-boot

index 48ab29d369b8c3e79a148415e52a6ca4460289c2..e516b618af69b6a196554e47c842fdf4f05c43a4 100755 (executable)
@@ -52,7 +52,6 @@ update_esps() {
        if [ -f /etc/kernel/cmdline ]; then
                # we can have cmdline files with multiple or no new line at all, handle both!
                while IFS= read -r CMDLINE || [ -n "$CMDLINE" ]; do
-                       CMDLINE="$CMDLINE"
                        break
                done < /etc/kernel/cmdline
                echo ${CMDLINE} | grep -q 'root=' || \