diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-07 15:43:59 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-07 15:43:59 +0000 |
commit | 5589e71de950b2baca33c38c6632e374b2211dfb (patch) | |
tree | 5967f91e2d60f7806b35c37323ce24ab8ccb1495 /src | |
parent | c2b02894be81650a85f940d82933a89cfb63bb09 (diff) | |
download | s6-rc-5589e71de950b2baca33c38c6632e374b2211dfb.tar.xz |
Adjust s6-rc verbosity (-v2 is now more terse, -v3 is what -v2 was)
Diffstat (limited to 'src')
-rw-r--r-- | src/s6-rc/s6-rc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s6-rc/s6-rc.c b/src/s6-rc/s6-rc.c index 7f573f1..dd329a4 100644 --- a/src/s6-rc/s6-rc.c +++ b/src/s6-rc/s6-rc.c @@ -106,7 +106,7 @@ static pid_t start_oneshot (unsigned int i, int h) newargv[m++] = "--" ; } newargv[m++] = S6_EXTBINPREFIX "s6-sudo" ; - newargv[m++] = verbosity >= 3 ? "-vel0" : "-el0" ; + newargv[m++] = verbosity >= 4 ? "-vel0" : "-el0" ; newargv[m++] = "-t" ; newargv[m++] = "30000" ; newargv[m++] = "-T" ; @@ -220,7 +220,7 @@ static void examine (unsigned int i, int h) state[i] |= 4 ; if ((state[i] & 1) == h) { - if (verbosity >= 2) + if (verbosity >= 3) strerr_warni4x("processing service ", name, ": already ", h ? "up" : "down") ; broadcast_success(i, h) ; } |