diff options
author | Zac Medico <zmedico@gmail.com> | 2018-10-13 12:32:45 -0700 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-10-15 11:50:42 -0500 |
commit | 710c874e6e3bc57b1561eb8f2108244bf24ed32e (patch) | |
tree | 6367d828224811ac0344da15773122e77e65b8f2 /mk/os-FreeBSD.mk | |
parent | 07908be0903229a69b9e0f733ed13eeff0b55a44 (diff) |
supervise-daemon: fix respawn_max off by one
Fix the comparison between respawn_count and respawn_max so that
respawn_max = 1 will allow for one respawn. Since respawn_count is
incremented before the comparison, use a 'greater than' comparison
so that respawn will be triggered when respawn_count is equal to
respawn_max.
Fixes: https://github.com/OpenRC/openrc/issues/247
Fixes: https://github.com/OpenRC/openrc/issues/248
Diffstat (limited to 'mk/os-FreeBSD.mk')
0 files changed, 0 insertions, 0 deletions