]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(dracut.sh): do not fail on irregular files
authorPavel Valena <pvalena@redhat.com>
Thu, 21 Jul 2022 15:40:20 +0000 (17:40 +0200)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Fri, 12 Aug 2022 11:14:05 +0000 (11:14 +0000)
commitb72d0d7f9be53c1ad04f132daf0297aff7581e9c
tree84399832123e53bf472d21cff491313a1095282d
parent897e5effe08f15de6b20099caeda7bc1167b7026
fix(dracut.sh): do not fail on irregular files

If file is not a regular file (test -f), dracut.sh fails,
which is unexpected change of behaviour.
The workaround would be to create an empty file.

Fixes: #1835
dracut.sh