gtomb

tomb gtk frontend in zenity
git clone git://parazyd.org/gtomb.git
Log | Files | Refs | README | LICENSE

commit b716780bea4c7adf702f172f3470cf45d27ea426
parent afc3769668466d11b8187dc0617f8a93dcef33c9
Author: parazyd <parazyd@gmx.com>
Date:   Mon, 30 Nov 2015 14:57:11 +0100

edited managing of tmpfile

Diffstat:
Mgtomb | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gtomb b/gtomb @@ -188,7 +188,11 @@ function _clean { tombsize="$rr"; unset tombsize keyfile="$rr"; unset keyfile sudoassword="$rr"; unset sudoassword - rm -f $tombtmp # See for srm/wipe/etc. + if [ -f $tombtmp ] + then + dd if=/dev/urandom of=$tombtmp bs=800 count=1 + rm -f $tombtmp # See for srm/wipe/etc. + fi tombtmp="$rr"; unset tombtmp newkey="$rr"; unset newkey jpegfile="$rr"; unset jpegfile