summaryrefslogtreecommitdiff
path: root/src/init/s6-linux-init-maker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/s6-linux-init-maker.c')
-rw-r--r--src/init/s6-linux-init-maker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c
index 2cfb35e..d7b4a42 100644
--- a/src/init/s6-linux-init-maker.c
+++ b/src/init/s6-linux-init-maker.c
@@ -517,7 +517,7 @@ static int utmpd_script (buffer *b, char const *aux)
EXECLINE_EXTBINPREFIX "fdmove -c 2 1\n") < 0) return 0 ;
if (utmp_user)
{
- if (!buffer_puts(b, S6_EXTBINPREFIX "s6-setuidgid ") < 0
+ if (buffer_puts(b, S6_EXTBINPREFIX "s6-setuidgid ") < 0
|| !string_quote(&satmp, utmp_user, strlen(utmp_user))) return 0 ;
if (buffer_put(b, satmp.s + sabase, satmp.len - sabase) < 0) goto err ;
satmp.len = sabase ;