s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit eed8f99badcf66b530bbdf245fa03fdc553380c6
parent 61e47c49ff4c1f94b3ac482a0077bc9781df3ce2
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Sat, 24 Mar 2018 14:54:15 +0000

 Fix off-by-one in s6-svdt-clear

Diffstat:
Msrc/supervision/s6-svdt-clear.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/supervision/s6-svdt-clear.c b/src/supervision/s6-svdt-clear.c @@ -8,7 +8,7 @@ int main (int argc, char const *const *argv) { - if (argc < 1) dieusage() ; + if (argc < 2) dieusage() ; if (!s6_dtally_write(argv[1], 0, 0)) strerr_diefu2sys(111, "clear death tally for service ", argv[1]) ; return 0 ;