]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
mg-repro-setup: Allow arguments to badusage
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 2 May 2019 13:49:31 +0000 (14:49 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 2 May 2019 17:34:58 +0000 (18:34 +0100)
No functional change with existing call sites.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
mg-repro-setup

index b41bf4782a6b028e461ff640527ff4535cf4d59c..d63e29b677b67ac41f7b77b7f5df40146360db58 100755 (executable)
@@ -46,7 +46,7 @@ END
 
 }
 
-badusage () { echo >&2 "bad usage"; usage >&2; exit 126; }
+badusage () { echo >&2 "bad usage$*"; usage >&2; exit 126; }
 
 set -e -o posix