Commit adc9bc41 authored by Paul Wise's avatar Paul Wise Committed by intrigeri

Use argument joining instead of expansion

Suggested-by: ShellCheck
Documentation: https://www.shellcheck.net/wiki/SC2145
parent 738a05fb
......@@ -2,13 +2,13 @@
error ()
{
echo "error: ${@}" >&2
echo "error: ${*}" >&2
exit 1
}
warning ()
{
echo "warning: ${@}" >&2
echo "warning: ${*}" >&2
}
# import Cmdline_old()
......
......@@ -28,7 +28,7 @@ fi
### helper functions
fatal () {
echo "Fatal: $@" >&2
echo "Fatal: $*" >&2
exit 2
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment