summaryrefslogtreecommitdiff
path: root/src/execline/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/execline/export.c')
-rw-r--r--src/execline/export.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/execline/export.c b/src/execline/export.c
index 5319c71..fde3adf 100644
--- a/src/execline/export.c
+++ b/src/execline/export.c
@@ -21,7 +21,6 @@ int main (int argc, char const *const *argv, char const *const *envp)
memcpy(fmt, argv[1], len1) ;
fmt[len1] = '=' ;
memcpy(fmt + len1 + 1, argv[2], len2 + 1) ;
- pathexec_r(argv+3, envp, env_len(envp), fmt, len1 + len2 + 2) ;
+ xpathexec_r(argv+3, envp, env_len(envp), fmt, len1 + len2 + 2) ;
}
- strerr_dieexec(111, argv[3]) ;
}