]> 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>
Wed, 7 May 2014 11:34:31 +0000 (13:34 +0200)
commit4e58a1ffc760e5c54e6cae5924a2439cae196848
tree5352101edb8f17188f8744e82f073b07c9cc1357
parent48b7ab1b35adf1f3f09f883ef14ea0a3fba1e468
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!
modules.d/99base/dracut-lib.sh