Skip to content
Permalink
Browse files
[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 5842e28860d648bf47e6bbc45c44960f68644979
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/usb_moded-network.c
@@ -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);

0 comments on commit 5842e28

Please sign in to comment.