[PATCH] envuidgid: Fix error message

From: Olivier Brunel <jjk_at_jjacky.com>
Date: Fri, 20 Mar 2015 15:06:20 +0100

Signed-off-by: Olivier Brunel <jjk_at_jjacky.com>
---
 src/daemontools-extras/s6-envuidgid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/daemontools-extras/s6-envuidgid.c b/src/daemontools-extras/s6-envuidgid.c
index 3a58c3c..3712411 100644
--- a/src/daemontools-extras/s6-envuidgid.c
+++ b/src/daemontools-extras/s6-envuidgid.c
_at_@ -67,7 +67,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
     if (n < 0)
       strerr_diefu2sys(111, "get supplementary groups for ", argv[0]) ;
   }
-  else if (insist) strerr_dief2x(1, "unknown user: ", argv[1]) ;
+  else if (insist) strerr_dief2x(1, "unknown user: ", argv[0]) ;
 
   {
     unsigned int pos = 0 ;
-- 
2.3.3
Received on Fri Mar 20 2015 - 14:06:20 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC