summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/daemontools-extras/s6-envdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemontools-extras/s6-envdir.c b/src/daemontools-extras/s6-envdir.c
index 6c55d12..a265fdf 100644
--- a/src/daemontools-extras/s6-envdir.c
+++ b/src/daemontools-extras/s6-envdir.c
@@ -36,6 +36,6 @@ int main (int argc, char const *const *argv)
argc -= l.ind ; argv += l.ind ;
if (argc < 2) strerr_dieusage(100, USAGE) ;
if ((envdir_internal(*argv++, &modifs, options, nullis) < 0) && (insist || (errno != ENOENT)))
- strerr_diefu1sys(111, "envdir") ;
+ strerr_diefu2sys(111, "envdir ", argv[-1]) ;
xmexec_m(argv, modifs.s, modifs.len) ;
}