NetworkManager r4238 - trunk/src/ppp-manager



Author: dcbw
Date: Thu Oct 30 16:34:32 2008
New Revision: 4238
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4238&view=rev

Log:
ignore return value

Modified:
   trunk/src/ppp-manager/nm-ppp-manager.c

Modified: trunk/src/ppp-manager/nm-ppp-manager.c
==============================================================================
--- trunk/src/ppp-manager/nm-ppp-manager.c	(original)
+++ trunk/src/ppp-manager/nm-ppp-manager.c	Thu Oct 30 16:34:32 2008
@@ -875,13 +875,14 @@
 	NMCmdLine *ppp_cmd;
 	char *cmd_str;
 	struct stat st;
+	int ignored;
 
 	g_return_val_if_fail (NM_IS_PPP_MANAGER (manager), FALSE);
 	g_return_val_if_fail (NM_IS_ACT_REQUEST (req), FALSE);
 
 	/* Make sure /dev/ppp exists (bgo #533064) */
 	if (stat ("/dev/ppp", &st) || !S_ISCHR (st.st_mode))
-		system ("/sbin/modprobe ppp_generic");
+		ignored = system ("/sbin/modprobe ppp_generic");
 
 	connection = nm_act_request_get_connection (req);
 	ppp_setting = NM_SETTING_PPP (nm_connection_get_setting (connection, NM_TYPE_SETTING_PPP));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]