1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-23 13:57:33 +03:00

nspawn: remove unused variable (#4369)

This commit is contained in:
Thomas H. P. Andersen 2016-10-13 23:30:28 +02:00 committed by Evgeny Vereshchagin
parent 8bfdf29b24
commit 5c4624e082

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);