From: Christian Brauner Date: Mon, 11 Jan 2016 13:43:42 +0000 (+0100) Subject: fix lockpath removal in Python lxc-ls X-Git-Tag: lxc-1.0.9~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=290d4363c43db79b78bd92baf46fbebaf625bd9f;p=thirdparty%2Flxc.git fix lockpath removal in Python lxc-ls The lock path for lxc is not RUNTIME_PATH/lock/lxc but rather RUNTIME_PATH/lxc/lock Signed-off-by: Christian Brauner Acked-by: Stéphane Graber --- diff --git a/src/lxc/lxc-ls.in b/src/lxc/lxc-ls.in index ac762caae..cbd76455d 100755 --- a/src/lxc/lxc-ls.in +++ b/src/lxc/lxc-ls.in @@ -353,7 +353,7 @@ def get_containers(fd=None, base="/", root=False): else: def clear_lock(): try: - lock_path = "%s/lock/lxc/%s/%s" % (RUNTIME_PATH, + lock_path = "%s/lxc/lock/%s/%s" % (RUNTIME_PATH, path, entry['name']) if os.path.exists(lock_path):