projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82ed1c
)
Correct restart delay check (<= instead of <).
author
Davin McCall
<davmac@davmac.org>
Fri, 23 Jun 2017 09:00:26 +0000
(10:00 +0100)
committer
Davin McCall
<davmac@davmac.org>
Fri, 23 Jun 2017 09:26:56 +0000
(10:26 +0100)
src/service.cc
patch
|
blob
|
history
diff --git
a/src/service.cc
b/src/service.cc
index 77b901fd21d97c5830ba129082f41f0dd49d8cfc..de2dcbc1daaea62cca9f338340ebd0de21f2d0ac 100644
(file)
--- a/
src/service.cc
+++ b/
src/service.cc
@@
-1322,7
+1322,7
@@
bool base_process_service::restart_ps_process() noexcept
// Check if enough time has lapsed since the prevous restart. If not, start a timer:
time_val tdiff = current_time - last_start_time;
- if (restart_delay < tdiff) {
+ if (restart_delay <
=
tdiff) {
// > restart delay (normally 200ms)
do_restart();
}