Correct misuse of return in ramdisk-image-create

Replaced return with exit.

Change-Id: Iee26177cdb58af67b6919da12456debfe5940105
This commit is contained in:
Arata Notsu 2013-02-12 17:43:35 +09:00
parent 8f9d433917
commit aa6f5f8005

View File

@ -75,14 +75,14 @@ FIRMWARE_DIR=$MODULE_ROOT/lib/firmware
if [ ! -d "$MODULE_DIR" ]; then
echo "ERROR: kernel module directory not found at $MODULE_DIR"
return 1
exit 1
fi
LIB_UDEV=$LIB_UDEV_ROOT/lib/udev
if [ ! -d "$LIB_UDEV" ]; then
echo "ERROR: udev directory not found at $LIB_UDEV"
return 1
exit 1
fi
mk_build_dir