From 76d4aa0271490129ca5f047c32f0a2482b3e563b Mon Sep 17 00:00:00 2001 From: knilch Date: Thu, 28 Nov 2019 16:36:32 +0100 Subject: [PATCH] tini.c: fix child subreaper error message When `TINI_MINIMAL` was defined, the error message read "To fix the problem, or set the environment [...]". --- src/tini.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tini.c b/src/tini.c index 3ad8232..eb62015 100644 --- a/src/tini.c +++ b/src/tini.c @@ -122,9 +122,9 @@ Zombie processes will not be re-parented to Tini, so zombie reaping won't work.\ To fix the problem, " #if HAS_SUBREAPER #ifndef TINI_MINIMAL -"use the -s option " +"use the -s option or " #endif -"or set the environment variable " SUBREAPER_ENV_VAR " to register Tini as a child subreaper, or " +"set the environment variable " SUBREAPER_ENV_VAR " to register Tini as a child subreaper, or " #endif "run Tini as PID 1.";