mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdev incorrectly reports an invalid udev rule for zfcp-lun type rules. This is caused by a faulty check for an empty udev rule file. This commit fixes the check to only report invalid rules when there was no valid configuration directive found in a zfcp-lun type udev rule. Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com> Reported-by: Steffen Maier <maier@linux.ibm.com> Reported-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>