summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-01-16 18:05:47 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-01-16 18:05:47 +0000
commit9c4b9e00ab1e603640363180bb2071106fb8d824 (patch)
treed8778162d13f2bd0dba44e2482e731149f504347
parent0747c82d5155ac63b4c1ec61439c0d98f04ec083 (diff)
downloadexecline-9c4b9e00ab1e603640363180bb2071106fb8d824.tar.gz
execline-9c4b9e00ab1e603640363180bb2071106fb8d824.tar.xz
execline-9c4b9e00ab1e603640363180bb2071106fb8d824.zip
bugfix: emptyenv -c
-rw-r--r--src/execline/emptyenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execline/emptyenv.c b/src/execline/emptyenv.c
index ccc96e5..5f2dfbc 100644
--- a/src/execline/emptyenv.c
+++ b/src/execline/emptyenv.c
@@ -34,7 +34,7 @@ static void cleanupenv (char const *const *argv, char const *const *envp)
         goto err ;
   }
   stralloc_free(&sa) ;
-  xmexec_e(argv, envp) ;
+  xmexec(argv) ;
 err:
   strerr_diefu1sys(111, "clean up environment") ;
 }