From 1abab84c3f1563fb3933f48e1e7c74fe643ffb26 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 19 May 2021 08:15:18 +0200 Subject: passwort-tresor.in: rm -rf --one-file-system --- passwort-tresor.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/passwort-tresor.in b/passwort-tresor.in index 024eb31..7980a48 100644 --- a/passwort-tresor.in +++ b/passwort-tresor.in @@ -1,7 +1,7 @@ #!/bin/bash beenden () { - [ -n "${tmpDir}" ] && rm -rf "${tmpDir}" + [ -n "${tmpDir}" ] && rm -rf --one-file-system "${tmpDir}" [ -n "$1" ] && [ "$1" -ne 0 ] && >&2 echo 'Ich beende.' exit $1 } @@ -226,7 +226,7 @@ then fi output="$(grep -2 "${suchStr}" "${tmpDir}/output" | tail -n2)" shred -zu "${tmpDir}/output" - rm -rf "${tmpDir}" + rm -rf --one-file-system "${tmpDir}" echo "${output}" | head -n1 | xclip -i echo -n "." -- cgit v1.2.3-70-g09d2