diff options
Diffstat (limited to 'functions.sh')
-rw-r--r-- | functions.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh index cbd5bad..ecf8a4c 100644 --- a/functions.sh +++ b/functions.sh @@ -10,6 +10,11 @@ cleanup (){ sleep 3 fuser -9 -k -v "$R" + # Clean up temporary .password file + if [ -r ".password" ] ; then + shred -zu .password + fi + # Clean up all temporary mount points echo "removing temporary mount points ..." umount -l "$R/proc" 2> /dev/null |