Adjust script to work with the old bash version on the nagios host.