Merge "Some bash versions don't support negative lengths"

This commit is contained in:
Jenkins 2013-08-06 19:36:00 +00:00 committed by Gerrit Code Review
commit 206a2ac312

View File

@ -1116,7 +1116,7 @@ function service_check() {
for service in $failures; do
service=`basename $service`
service=${service::-8}
service=${service%.failure}
echo "Error: Service $service is not running"
done