Showing 1 changed files with 1 additions and 0 deletions
+1
analyse-votes-AN
... ...
@@ -342,6 +342,7 @@ EOcontent
342 342
 
343 343
 function save_database () {
344 344
     test -n "$database" -a -n "$in_ram_database" || return
345
+    test -r "$in_ram_database" || return
345 346
     if test -r "$database" && md5sum $in_ram_database | sed "s,$in_ram_database,$database," | md5sum --status -c -; then
346 347
         rm -f $in_ram_database
347 348
     elif test -w "$database"; then