mirror of
https://github.com/dynup/kpatch
synced 2025-02-20 03:36:52 +00:00
kpatch-build: don't delete logfile in debug mode
This commit is contained in:
parent
3775692aa0
commit
cfd1ce3b34
@ -268,6 +268,6 @@ $STRIPCMD "kpatch-$PATCHNAME.ko" >> "$LOGFILE" 2>&1 || die
|
||||
|
||||
cp -f "$TEMPDIR/patch/kpatch-$PATCHNAME.ko" "$BASE" || die
|
||||
|
||||
rm -f "$LOGFILE"
|
||||
[[ "$DEBUG" -eq 0 ]] && rm -f "$LOGFILE"
|
||||
|
||||
echo "SUCCESS"
|
||||
|
Loading…
Reference in New Issue
Block a user