summaryrefslogtreecommitdiff
path: root/recipes/images/files/colibri-vf/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/files/colibri-vf/update.sh')
-rwxr-xr-xrecipes/images/files/colibri-vf/update.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/recipes/images/files/colibri-vf/update.sh b/recipes/images/files/colibri-vf/update.sh
index f3881b4..b0611bc 100755
--- a/recipes/images/files/colibri-vf/update.sh
+++ b/recipes/images/files/colibri-vf/update.sh
@@ -83,10 +83,6 @@ while getopts "d:fhno:s" Option ; do
exit 0
;;
h) Usage
- # Exit if only usage (-h) was specified.
- if [ "$#" -eq 1 ] ; then
- exit 10
- fi
exit 0
;;
n) NORTSCTS=1
@@ -100,7 +96,7 @@ done
if [ "$OUT_DIR" = "" ] && [ "$UBOOT_RECOVERY" = "0" ] ; then
Usage
- exit 0
+ exit 1
fi
# is OUT_DIR an existing directory?