git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e25d594
)
bin/heat: Fix scheduler regression.
author
Jan Kratochvil
<jan@jankratochvil.net>
Fri, 7 Jan 2022 18:40:21 +0000
(19:40 +0100)
committer
Jan Kratochvil
<jan@jankratochvil.net>
Fri, 7 Jan 2022 18:40:21 +0000
(19:40 +0100)
bin/heat
patch
|
blob
|
history
diff --git
a/bin/heat
b/bin/heat
index
9227df5
..
f30ffe1
100755
(executable)
--- a/
bin/heat
+++ b/
bin/heat
@@
-131,7
+131,7
@@
sub printminutes($) {
if ($silent) {
if (!defined $newstate&&!defined $reset&&%schedule) {
my $prev=schedulenext($minutes)->[0];
- if ($prev=~m{^@
[ printminutes $minutes ]
(.)\n$}) {
+ if ($prev=~m{^@
{[ printminutes $minutes ]}
(.)\n$}) {
$newstate=$1;
logmsg "scheduled: $prev";
}