Commit Diff
--- stimer.pl +++ stimer.pl @@ -10,7 +10,7 @@ if (! -p $timerpath) die "Could not find statbartimer file or not FIFO"; } -$time =~ /^(?:\d{2}:(\d{2})|(\d+))$/ or die "Bad timer format"; +$time =~ /^(?:\d{1,2}:(\d{2})|(\d+))$/ or die "Bad timer format"; if ($1 > 59 or $2 > 5999) { die "Bad timer format";
