Commit 7c4a37f5 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Pavel Emelyanov

files-reg: Fix rm_parent_dirs() counter

Looks like it's a leftover from one of intermediate versions..
Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 88227083
...@@ -1212,7 +1212,7 @@ static void rm_parent_dirs(int mntns_root, char *path, int count) ...@@ -1212,7 +1212,7 @@ static void rm_parent_dirs(int mntns_root, char *path, int count)
{ {
char *p, *prev = NULL; char *p, *prev = NULL;
if (!count++) if (!count)
return; return;
while (count--) { while (count--) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment