]> git.ipfire.org Git - thirdparty/dracut.git/commit
uefi-lib/uefi-lib.sh: fixed script for bash version 5
authorHarald Hoyer <harald@redhat.com>
Fri, 24 Jan 2020 12:40:15 +0000 (13:40 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 24 Jan 2020 12:42:46 +0000 (13:42 +0100)
commit350ec5d9dd407b2cd1ca23a02a3f1a9c426ec055
treec18f94b949027529f5a4ba081b4eebf30bf6371a
parentd613d88dd272cde8b69445bd69d64f99aac5b94b
uefi-lib/uefi-lib.sh: fixed script for bash version 5

bash 5 `read` behaves differently and returns != 0 for 0 bytes read

fix it with the best effort
modules.d/99uefi-lib/uefi-lib.sh