Skip to content

Commit

Permalink
Merge pull request #38 from mssonicbld/sonicbld/202305-merge
Browse files Browse the repository at this point in the history
[code sync] Merge code from sonic-net/sonic-utilities.msft:202305 to 202305
  • Loading branch information
mssonicbld authored Dec 9, 2023
2 parents b0d954a + ed361cd commit acc3e5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -1536,9 +1536,9 @@ save_crash_files() {
for file in $(find_files "/var/core/"); do
# don't gzip already-gzipped log files :)
if [ -z "${file##*.gz}" ]; then
save_file $file core false
save_file $file core false true
else
save_file $file core true
save_file $file core true true
fi
done
fi
Expand All @@ -1549,9 +1549,9 @@ save_crash_files() {
# don't gzip already-gzipped dmesg files :)
if [ ! ${file} = "/var/crash/kexec_cmd" -a ! ${file} = "/var/crash/export" ]; then
if [[ ${file} == *"kdump."* ]]; then
save_file $file kdump false
save_file $file kdump false true
else
save_file $file kdump true
save_file $file kdump true true
fi
fi
done
Expand Down

0 comments on commit acc3e5b

Please sign in to comment.