summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-10 13:53:58 +0200
committerErich Eckner <git@eckner.net>2019-07-10 13:53:58 +0200
commitcc920e95b34d5fc3cea3051805cf64b1b0578262 (patch)
tree32bb4dca6f33f8755ca88e6adb6155b698b7cd46 /archPackagesUpdate
parent85addb62ba67af1046995e412f2a73bc25efa7fe (diff)
downloadarchlinuxewe-cc920e95b34d5fc3cea3051805cf64b1b0578262.tar.xz
archPackagesUpdate: cleanup
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate6
1 files changed, 2 insertions, 4 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index a5c36c523..19ff15860 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -188,10 +188,8 @@ while true; do
done
if [ ! $# -eq 0 ]; then
- >&2 echo 'FEHLER: Zu viele ('$#') Argumente:'
- for ((i=1; i<=$#; i++)); do
- >&2 echo "'${!i}'"
- done
+ >&2 printf 'FEHLER: Zu viele (%s) Argumente:\n' "$#"
+ >&2 printf '"%s"\n' "$@"
>&2 echo 'Ich beende.'
usage
fi