diff -r 2098311fb227 -r 0990f72db33c check_amanda.pl --- 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; }