summaryrefslogtreecommitdiffstats
path: root/zfcpconf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'zfcpconf.sh')
-rw-r--r--zfcpconf.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/zfcpconf.sh b/zfcpconf.sh
index 8dc05ad..c3c6bf4 100644
--- a/zfcpconf.sh
+++ b/zfcpconf.sh
@@ -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