From c31bbd546a9be36f335345a9dad33676de2dbcb6 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 18 Mar 2014 23:32:46 -0600 Subject: Shred shm files. --- src/platform/darwin.sh | 1 + src/platform/freebsd.sh | 1 + 2 files changed, 2 insertions(+) (limited to 'src/platform') diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh index 4e94941..fac47b1 100644 --- a/src/platform/darwin.sh +++ b/src/platform/darwin.sh @@ -32,3 +32,4 @@ tmpdir() { } GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || echo /usr/local)/bin/getopt" +SHRED="srm -f -z" diff --git a/src/platform/freebsd.sh b/src/platform/freebsd.sh index a8611e8..b3a4136 100644 --- a/src/platform/freebsd.sh +++ b/src/platform/freebsd.sh @@ -16,3 +16,4 @@ tmpdir() { } GETOPT="/usr/local/bin/getopt" +SHRED="rm -P -f" -- cgit v1.2.3