diff --git a/tools/scripts/ansible-tower-service b/tools/scripts/ansible-tower-service index 5b73b1ff11..ae52c22aa2 100755 --- a/tools/scripts/ansible-tower-service +++ b/tools/scripts/ansible-tower-service @@ -15,7 +15,7 @@ service_action() { # Should MongoDB be managed by this script? # We only manage MongoDB if the license uses it. - tower-manage uses_mongo > /dev/null 2> /dev/null + tower-manage uses_mongo if [ $? == 0 && ${1} == start ]; then SERVICES="$SERVICES mongod" elif [ $? == 0 && ${1} == stop ]; then