changeset 1 | 0990f72db33c |
parent 0 | 2098311fb227 |
child 5 | 70171296c9fc |
--- a/check_amanda.pl Tue May 17 10:12:33 2011 +0200 +++ b/check_amanda.pl Fri Aug 05 09:41:48 2011 +0200 @@ -80,7 +80,8 @@ my $rc = "CRITICAL"; foreach (`$opt{binary} --config $configfile --error`) { - /^Using.*from\s+(.*)$/ and $last_backup_date = $1 and next; + /^Using / and next; + /^From\s+(.*)$/ and $last_backup_date = $1 and next; /^\S+/ and $mesg = "some failed backups" and last; }