Skip to content

Commit

Permalink
Merge "Updating action on update_services Closes-Bug: 1608877" into R3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Aug 2, 2016
2 parents 114fab6 + dbf51d0 commit 7bcffef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrail_provisioning/common/scripts/contrail-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function update_services () {
exit_on_error=$(echo $exit_on_error | tr '[:upper:]' '[:lower:]')
for service_name in "${@:2}"; do
if [ $(is_ubuntu) == "False" ]; then
systemctl $1 "$service_name"
systemctl $action "$service_name"
else
if [ "$action" == "enable" ]; then
chkconfig $service_name on
Expand Down

0 comments on commit 7bcffef

Please sign in to comment.