Skip to content

Commit

Permalink
Fix: Regex for LBA-hacking
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit Pannek committed Nov 20, 2017
1 parent b901954 commit 686dabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mksdiso
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function extract_image() {
ISO_NR="0$ISO_NR"
fi

LBA=$(echo $line | awk '{print $NF}')
LBA=$(echo $line | awk '{print $9}')
if [ -z "$LBA" ] ; then
echo "--> WARNING: Invalid LBA: ${LBA}... Trying to continue.."
LBA=0
Expand Down

0 comments on commit 686dabc

Please sign in to comment.