nspawn: remove unused variable (#4369)

This commit is contained in:
Thomas H. P. Andersen
2016-10-14 00:30:28 +03:00
committed by Evgeny Vereshchagin
parent 8bfdf29b24
commit 5c4624e082
-1
View File
@@ -56,7 +56,6 @@ static int chown_cgroup_path(const char *path, uid_t uid_shift) {
int chown_cgroup(pid_t pid, uid_t uid_shift) {
_cleanup_free_ char *path = NULL, *fs = NULL;
_cleanup_close_ int fd = -1;
int r;
r = cg_pid_get_path(NULL, pid, &path);