Skip to content

Commit

Permalink
Merge pull request #12885 from Mab879/fix_12876_2
Browse files Browse the repository at this point in the history
Make `coredump_disable_storage/coredumps_storage_none.pass` work on RHEL 10
  • Loading branch information
jan-cerny authored Jan 23, 2025
2 parents 38af1cc + af3b2f3 commit cccf253
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/bin/bash
mkdir -p /etc/systemd/

if ! grep -q "[Coredump]" /etc/systemd/coredump.conf; then
echo "[Coredump]" >> /etc/systemd/coredump.conf
fi
echo Storage=none >> /etc/systemd/coredump.conf

0 comments on commit cccf253

Please sign in to comment.