summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--passwort-tresor.in4
1 files 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 "."