Merge "Some bash versions don't support negative lengths"
This commit is contained in:
commit
206a2ac312
@ -1116,7 +1116,7 @@ function service_check() {
|
|||||||
|
|
||||||
for service in $failures; do
|
for service in $failures; do
|
||||||
service=`basename $service`
|
service=`basename $service`
|
||||||
service=${service::-8}
|
service=${service%.failure}
|
||||||
echo "Error: Service $service is not running"
|
echo "Error: Service $service is not running"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user