Skip to content

Commit dbdab2d

Browse files
pvalenaaafeijoo-suse
authored andcommitted
fix(dracut.sh): shellcheck warning SC1004
As stated in [1] it should work without literal backslash+linefeed. [1] koalaman/shellcheck#1246
1 parent 33a66ed commit dbdab2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dracut.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2467,7 +2467,7 @@ if [[ $uefi == yes ]]; then
24672467
fi
24682468
fi
24692469
2470-
offs=$(objdump -h "$uefi_stub" 2> /dev/null | gawk 'NF==7 {size=strtonum("0x"$3);\
2470+
offs=$(objdump -h "$uefi_stub" 2> /dev/null | gawk 'NF==7 {size=strtonum("0x"$3);
24712471
offset=strtonum("0x"$4)} END {print size + offset}')
24722472
if [[ $offs -eq 0 ]]; then
24732473
dfatal "Failed to get the size of $uefi_stub to create UEFI image file"

0 commit comments

Comments
 (0)