summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-02-27 19:05:35 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:36:14 +0100
commit3c0d008c79baadcbc455c7c46fa0673219c8333a (patch)
tree582271776e3c2cac60f7fb40d1e9efe22c5b364f
parent0c9fc8846d35fff3aa82b80af282cc1aa0c035f3 (diff)
downloadlive-build-3c0d008c79baadcbc455c7c46fa0673219c8333a.zip
live-build-3c0d008c79baadcbc455c7c46fa0673219c8333a.tar.gz
When a wrong argument is passed, that argument should be listed (Closes: #468201).
-rwxr-xr-xfunctions/arguments.sh2
-rwxr-xr-xhelpers/lh_config2
2 files changed, 2 insertions, 2 deletions
diff --git a/functions/arguments.sh b/functions/arguments.sh
index a5ee8dd..f121db3 100755
--- a/functions/arguments.sh
+++ b/functions/arguments.sh
@@ -75,7 +75,7 @@ Arguments ()
;;
*)
- Echo_error "internal error"
+ Echo_error "internal error ${0}"
exit 1
;;
esac
diff --git a/helpers/lh_config b/helpers/lh_config
index 40690ea..e9ceaac 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -638,7 +638,7 @@ Local_arguments ()
;;
*)
- Echo_error "internal error"
+ Echo_error "internal error ${0}"
exit 1
;;
esac