zfcpconf: set exit code explicitly (#1977434)
This commit is contained in:
parent
b2e74b0a3e
commit
e4da637a53
@ -36,7 +36,7 @@ if [ -f "$CONFIG" ]; then
|
|||||||
modprobe zfcp
|
modprobe zfcp
|
||||||
fi
|
fi
|
||||||
if [ ! -d /sys/bus/ccw/drivers/zfcp ]; then
|
if [ ! -d /sys/bus/ccw/drivers/zfcp ]; then
|
||||||
return
|
exit 1
|
||||||
fi
|
fi
|
||||||
sed 'y/ABCDEF/abcdef/' < $CONFIG | while read line; do
|
sed 'y/ABCDEF/abcdef/' < $CONFIG | while read line; do
|
||||||
case $line in
|
case $line in
|
||||||
@ -74,3 +74,4 @@ if [ -f "$CONFIG" ]; then
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user