git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49849 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -103,6 +103,7 @@ def cleanup():
tmpdir, lockfile, remove_lockfile
# all exits after setting up $tmpdir should also tidy it up
cleanup_dir(tmpdir)
+ try_rmdir(tmpdir)
if lockfile and remove_lockfile:
try_remove(lockfile)