Browse Source

Don't bother unlinking /var/lib/netcfg/dhcp6c-finished unless we're using dhcp6c

Rebased-and-modified-by: Philipp Kern <pkern@debian.org>
tags/1.90
Colin Watson Philipp Kern 10 years ago
parent
commit
c8b555ef97
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      autoconfig.c

+ 2
- 1
autoconfig.c View File

@@ -385,7 +385,8 @@ stop:
}
}

unlink(DHCP6C_FINISHED);
if (dhcpv6_client == DHCP6C)
unlink(DHCP6C_FINISHED);

return ret;
}


Loading…
Cancel
Save