mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
When a persistent device configuration is changed, chzdev tries to find out if it needs to perform additional steps to make this change persistent. If this check fails, for example because the root device is located on a RAM-disk, or on a device type not managed by chzdev, the tool reports an error and exits with non-zero exit code: chzdev: Could not determine device that provides / or chzdev: Could not determine device that provides loop0 This behavior unnecessarily restricts chzdev from being used in scripted environments like an installation initial RAM-disk. Fix this by removing the non-zero exit code and moving the message to verbose output mode only. Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>