mirror of
https://git.proxmox.com/git/pve-kernel-meta
synced 2025-04-28 21:32:46 +00:00
proxmox-boot: drop useless assignment to self
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0eb24c7300
commit
72500ba323
@ -52,7 +52,6 @@ update_esps() {
|
|||||||
if [ -f /etc/kernel/cmdline ]; then
|
if [ -f /etc/kernel/cmdline ]; then
|
||||||
# we can have cmdline files with multiple or no new line at all, handle both!
|
# we can have cmdline files with multiple or no new line at all, handle both!
|
||||||
while IFS= read -r CMDLINE || [ -n "$CMDLINE" ]; do
|
while IFS= read -r CMDLINE || [ -n "$CMDLINE" ]; do
|
||||||
CMDLINE="$CMDLINE"
|
|
||||||
break
|
break
|
||||||
done < /etc/kernel/cmdline
|
done < /etc/kernel/cmdline
|
||||||
echo ${CMDLINE} | grep -q 'root=' || \
|
echo ${CMDLINE} | grep -q 'root=' || \
|
||||||
|
Loading…
Reference in New Issue
Block a user