mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2025-01-22 08:11:47 -05:00
improve debug info
This commit is contained in:
parent
46cc78ff01
commit
6faf37af21
1 changed files with 4 additions and 1 deletions
|
@ -213,9 +213,12 @@ int call_dhcp(const char *network_interface)
|
|||
dhclient_script = malloc(buf_size);
|
||||
get_binary_in_working_directory("../sbin/dhclient-script", dhclient_script, buf_size);
|
||||
argv[3] = dhclient_script;
|
||||
|
||||
print_info("Using custom dhclient at: %s", argv[0]);
|
||||
} else {
|
||||
print_info("Using system dhclient");
|
||||
}
|
||||
|
||||
print_info(argv[0]);
|
||||
|
||||
pid_t dhclient_pid;
|
||||
int r = start_process(argv, &dhclient_pid, NULL);
|
||||
|
|
Loading…
Reference in a new issue