From fd54c889a3161d959fb5adadedaa882f69324e5c Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 24 Mar 2022 20:26:03 +0100 Subject: [PATCH] bin/heat: Fix reset to default state. --- bin/heat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/heat b/bin/heat index 74bbbab..0c81139 100755 --- a/bin/heat +++ b/bin/heat @@ -132,7 +132,7 @@ if ($silent) { my $prev=schedulenext($minutes); if ($prev) { my $prev=$prev->[0]; - if ($prev=~m{^@{[ printminutes $minutes ]} (.)\n$}) { + if ($prev=~m{ (.)\n$}) { $newstate=$1; logmsg "scheduled: $prev"; } -- 1.8.3.1