diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-07-21 15:12:41 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-07-21 15:12:41 +0200 |
commit | 7909d89fa3a041ae157d19b4a22f73f3f1bac3d7 (patch) | |
tree | 113ff27314167ef44d50392a51ea1d2e62154c5e /src | |
parent | 027cfbd2cd212760424b2fa96bd6aeb755c53155 (diff) | |
download | cgci-7909d89fa3a041ae157d19b4a22f73f3f1bac3d7.tar.gz cgci-7909d89fa3a041ae157d19b4a22f73f3f1bac3d7.zip |
adjust styling, duplicate stderr into stdout
Diffstat (limited to 'src')
-rw-r--r-- | src/build.c | 2 | ||||
-rw-r--r-- | src/ui.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/build.c b/src/build.c index 4c7667d..0c4214f 100644 --- a/src/build.c +++ b/src/build.c @@ -97,7 +97,7 @@ void create_build() strcat(build_path, "/log"); freopen(build_path, "w", stdout); - freopen(build_path, "w", stderr); + dup2(1, 2); free(build_path); } @@ -203,7 +203,7 @@ void print_build_info() "</tr>-->" "</tbody>" "</table>" - "<pre>%s</pre>", + "<pre class=\"log\">%s</pre>", current_build->name, time, current_build->completion ? buildtime : "", build_class[current_build->status], build_string[current_build->status], current_project->name, current_build->name, |