Skip to content

Commit ff6795b

Browse files
build-kernel.sh: redirect log
error on console stdout in file
1 parent 1413b67 commit ff6795b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎.github/ci/build-kernel.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ make -j$(nproc) \
3838
O="$KERNEL_OUT" \
3939
ARCH="$ARCH" \
4040
CROSS_COMPILE="$CROSS_COMPILE" \
41-
$MAKE_FLAGS \
42-
2>&1 | tee -a "$LOG_FILE"
41+
$MAKE_FLAGS >> "$LOG_FILE"
4342

4443
# Optional: post-build highlight (does not affect exit code)
4544
if [[ -n "$FILTER_REGEX" ]]; then

0 commit comments

Comments
 (0)