|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 10/11] mg-repro-setup: Detect options (-...) in wrong place
Without this they tend to be interpreted as HOSTSPECs leading to
lossage.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
v2: New patch
---
mg-repro-setup | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mg-repro-setup b/mg-repro-setup
index 7f075f4e..dc6c5cbb 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -197,6 +197,10 @@ while [ $# -ne 0 ]; do
continue
;;
+ -*)
+ badusage ': misplaced option, expected REBUILD or HOSTSPEC'
+ ;;
+
none:)
# provided so we can repro a job with no hosts
;;
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |