]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut.sh: for_each_host_xx() function should indicate the empty case 311/head
authorPingfan Liu <piliu@redhat.com>
Mon, 4 Dec 2017 09:24:11 +0000 (17:24 +0800)
committerHarald Hoyer <harald@redhat.com>
Mon, 4 Dec 2017 10:04:53 +0000 (11:04 +0100)
commite6199960d9bbfe6d860a32716b7e9bac7e657a4f
treee0b09d456d66be72782c3e944960b1183e431286
parented9281d6d13b6250e3f12408366fca46bc3384ce
dracut.sh: for_each_host_xx() function should indicate the empty case

The caller of "for_each_host_xx func" needs to tell three cases:
func success/ fail / not be called.
E.g, in kdump case, host_devs can be empty, and we want to know it.

Signed-off-by: Pingfan Liu <piliu@redhat.com>
dracut-functions.sh