commit 66ac77f93697e4b013693950b6e670a083dac1ca
parent 85fff4dcda76c804ab3707b095b0b2e68b3d593b
Author: Jaromil <jaromil@dyne.org>
Date:   Tue, 30 Dec 2014 15:40:47 +0100
small fix for tmp dir handling
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/jaro b/src/jaro
@@ -201,9 +201,10 @@ KEYRING="$MAILDIRS/Keyring"
 TMPDIR="$MAILDIRS/tmp/jaromil.$USER"
 case $OS in
     GNU)
-    touch /dev/shm/jaromail.test.tmp > /dev/null
+    touch /dev/shm/test.jaromail.$USER > /dev/null
     { test $? = 0 } && {
     # we can use volatile ram
+        rm /dev/shm/test.jaromail.$USER
         TMPDIR=/dev/shm/tmp.jaromail.$USER
         TMPRAM=1
     }