summaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-18 23:32:46 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-18 23:43:49 -0600
commitc31bbd546a9be36f335345a9dad33676de2dbcb6 (patch)
treec238b5c6dee3d231e0fb0698db26eed4c46ddb1b /src/platform
parent51f9b6888ce1640c887c308d869c5f716d071430 (diff)
downloadpass-c31bbd546a9be36f335345a9dad33676de2dbcb6.tar.gz
pass-c31bbd546a9be36f335345a9dad33676de2dbcb6.tar.bz2
pass-c31bbd546a9be36f335345a9dad33676de2dbcb6.zip
Shred shm files.
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/darwin.sh1
-rw-r--r--src/platform/freebsd.sh1
2 files changed, 2 insertions, 0 deletions
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"