diff options
Diffstat (limited to 'nova/utils.py')
| -rw-r--r-- | nova/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/utils.py b/nova/utils.py index 439be0525..889138d89 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -727,6 +727,7 @@ def synchronized(name, external=False, lock_path=None): local_lock_path = FLAGS.lock_path or wrap_mkdtemp() if not os.path.exists(local_lock_path): + cleanup_dir = True ensure_tree(local_lock_path) # NOTE(mikal): the lock name cannot contain directory |
