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

66-scandir: fix shebang of finish file for boot proccess

parent 68e5c105
No related branches found
No related tags found
No related merge requests found
......@@ -491,8 +491,14 @@ int write_control(char const *scandir,char const *tree, char const *filename, in
bscan[r] = 0 ;
/** shebang */
if (!stralloc_cats(&sa, "#!" EXECLINE_SHEBANGPREFIX "execlineb -P\n")) ;
if (file == FINISH)
{
if (!stralloc_cats(&sa, "#!" EXECLINE_SHEBANGPREFIX "execlineb -S0\n")) ;
}
else
{
if (!stralloc_cats(&sa, "#!" EXECLINE_SHEBANGPREFIX "execlineb -P\n")) ;
}
if (file == FINISH)
{
if (BOOT)
......
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