Showing 1 changed files with 1 additions and 0 deletions
+1
analyse-votes-AN
... ...
@@ -363,6 +363,7 @@ EOcontent
363 363
 }
364 364
 
365 365
 function save_database () {
366
+    test -n "$result" -a -d "/dev/shm/$result" && rm -fr "/dev/shm/$result"
366 367
     test -n "$database" -a -n "$in_ram_database" || return
367 368
     test -r "$in_ram_database" || return
368 369
     if test -r "$database" && md5sum $in_ram_database | sed "s,$in_ram_database,$database," | md5sum --status -c -; then