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

append oneshot log file

parent 09ec7a16
No related branches found
No related tags found
No related merge requests found
......@@ -651,7 +651,7 @@ int write_exec(sv_alltype *sv, sv_exec *exec,char const *file,char const *dst,mo
if (sv->opts[0])
{
if (!stralloc_cats(&shebang,"redirfd -w 1 ") ||
if (!stralloc_cats(&shebang,"redirfd -a 1 ") ||
!stralloc_cats(&shebang,destlog_oneshot.s) ||
!stralloc_cats(&shebang,"\n")) log_warnsys_return(LOG_EXIT_ZERO,"stralloc") ;
}
......
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