From 90b2f10302f3b40270fcde5e0c965fcf63fa50d5 Mon Sep 17 00:00:00 2001 From: Ryan Brady Date: Thu, 9 Oct 2014 18:09:23 -0400 Subject: [PATCH] Fix os-svc-install The 'a' option was missing from the getops set of available options in os-svc-restart. This is causing CI failures in patces with an "illegal operation -- a" error.[1] This patch adds the 'a' option to os-svc-restart. [1] Ib3bc5c47de1b8bb6006530d56e9d47c3763af7b5 Change-Id: I527c5b0cda0cda7877d23422702517760c1bf340 --- elements/os-svc-install/bin/os-svc-restart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/os-svc-install/bin/os-svc-restart b/elements/os-svc-install/bin/os-svc-restart index a9ccabed8..474f6b1d9 100755 --- a/elements/os-svc-install/bin/os-svc-restart +++ b/elements/os-svc-install/bin/os-svc-restart @@ -31,7 +31,7 @@ SERVICENAME=${SERVICENAME:-""} MAPPING_COMMAND=map-services nshift=0 -while getopts "hn:" opt; do +while getopts "ahn:" opt; do case "$opt" in n) SERVICENAME=$OPTARG;; h) usage 0;;