Skip to content

Commit

Permalink
Make coredump_disable_storage/coredumps_storage_none.pass work on RHE…
Browse files Browse the repository at this point in the history
…L 10
  • Loading branch information
Mab879 committed Jan 22, 2025
1 parent 12279d1 commit af3b2f3
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 af3b2f3

Please sign in to comment.