Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[network] Silence interface checks
Avoid outputting unneeded cruft on the console

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Nov 4, 2014
1 parent df19c71 commit 5842e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb_moded-network.c
Expand Up @@ -80,7 +80,7 @@ static int check_interface(char *interface)
char command[32];
int ret = 0;

snprintf(command, 32, "ifconfig %s\n", interface );
snprintf(command, 32, "ifconfig %s > /dev/null\n", interface );
ret = system(command);

return(ret);
Expand Down

0 comments on commit 5842e28

Please sign in to comment.