mirror of
https://github.com/dynup/kpatch
synced 2025-03-08 03:38:00 +00:00
Keep build.log on --skip-cleanup
Before kpatch-build would only keep build.log with --debug option specified, but it also makes sense to keep it if --skip-cleanup is specified. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
62cd3efc57
commit
17ec03ef95
@ -1016,6 +1016,6 @@ UNDEFINED=$(comm -23 <(sort -u "${TEMPDIR}"/undefined_references) \
|
||||
|
||||
cp -f "$TEMPDIR/patch/$MODNAME.ko" "$BASE" || die
|
||||
|
||||
[[ "$DEBUG" -eq 0 ]] && rm -f "$LOGFILE"
|
||||
[[ "$DEBUG" -eq 0 && "$SKIPCLEANUP" -eq 0 ]] && rm -f "$LOGFILE"
|
||||
|
||||
echo "SUCCESS"
|
||||
|
Loading…
Reference in New Issue
Block a user