zfcpconf: set exit code explicitly (#1977434)

This commit is contained in:
Dan Horák 2021-06-30 11:36:03 +02:00
parent b2e74b0a3e
commit e4da637a53

View File

@ -36,7 +36,7 @@ if [ -f "$CONFIG" ]; then
modprobe zfcp
fi
if [ ! -d /sys/bus/ccw/drivers/zfcp ]; then
return
exit 1
fi
sed 'y/ABCDEF/abcdef/' < $CONFIG | while read line; do
case $line in
@ -74,3 +74,4 @@ if [ -f "$CONFIG" ]; then
esac
done
fi
exit 0