]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut-lib.sh: fixed return value of pidof()
authorHarald Hoyer <harald@redhat.com>
Wed, 7 May 2014 11:33:14 +0000 (13:33 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 09:59:29 +0000 (11:59 +0200)
commite5f6899a550d749f25a19043b6842609e327cceb
treedf81a9f7059188155caab9e1da9dedce970e7003
parent0506080aee1da03e867b1ab3f182d19bfbeae443
dracut-lib.sh: fixed return value of pidof()

pidof always returned with 0, so any "while pidof" loop would not
terminate.

Thanks "Consus" for the hint!

(cherry picked from commit 4e58a1ffc760e5c54e6cae5924a2439cae196848)
modules.d/99base/dracut-lib.sh