diff --git a/root/etc/e-smith/events/actions/expire-update-auto-reply b/root/etc/e-smith/events/actions/expire-update-auto-reply index 6e4c556..b203698 100644 --- a/root/etc/e-smith/events/actions/expire-update-auto-reply +++ b/root/etc/e-smith/events/actions/expire-update-auto-reply @@ -30,7 +30,7 @@ foreach my $user (@users){ next if $pass eq 'yes'; my $expired = $user->prop('ExpireLockedOn') || ''; - next if $expired !~ (\d{4}\-\d{1,2}\-\d{1,2}); + next if $expired !~ /^\d{4}\-\d{1,2}\-\d{1,2}$/; my $home = getpwnam($userName)->dir; mkdir $home . '/.lock-auto-reply' unless -d $home . '/.lock-auto-reply';