Skip to content
Snippets Groups Projects
Commit c9b14d4c authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

please be safe

parent fe951f04
No related branches found
No related tags found
No related merge requests found
......@@ -18,11 +18,13 @@
int main (int argc, char const *const *argv, char const *const *envp)
{
PROG = "66-envfile" ;
int i = 1 ;
int i = 0 ;
strerr_warnw1x("the 66-envfile is obsolescent, please use execl-envfile instead") ;
argv++ ;
char const *cmd[argc] ;
cmd[0] = "execl-envfile" ;
for(; i < argc ;i++)
cmd[i] = argv[i] ;
cmd[i+1] = argv[i] ;
cmd[i+1] = 0 ;
pathexec_run(cmd[0],cmd,envp) ;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment