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

fix stage4 definition

parent 7ac079f4
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,8 @@ static inline void prepare_stage4 (char what)
|| (!nologger && buffer_puts(&b,
EXECLINE_EXTBINPREFIX "foreground { "
S6_EXTBINPREFIX "s6-svc -Xh -- " live) < 0
S6_EXTBINPREFIX "s6-svc -Xh -- ") < 0
|| buffer_puts(&b,live) < 0
|| buffer_puts(&b,SS_BOOT_LOG " }\n ") < 0)
|| buffer_puts(&b, S6_EXTBINPREFIX "66-scanctl ") < 0
......@@ -252,7 +253,7 @@ static inline void prepare_stage4 (char what)
|| buffer_puts(&b, live) < 0
|| buffer_put(&b, what == 'h' ? "s" : &what, 1) < 0
|| buffer_putsflush(&b, "b\n}\n") < 0)
log_dieusys(LOG_EXIST_SYS, "write to ", STAGE4_FILE ".new") ;
log_dieusys(LOG_EXIT_SYS, "write to ", STAGE4_FILE ".new") ;
}
else
{
......
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