summaryrefslogtreecommitdiff
path: root/src/ppp-manager
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2008-10-30 16:34:32 +0000
committerDan Williams <dcbw@redhat.com>2008-10-30 16:34:32 +0000
commitf8d151a20dae6c40e947197175ec2aed49dc4a02 (patch)
tree64d1b2da98dd16402ab77025c3fb3fb7936de804 /src/ppp-manager
parent0d7b805152cdb37eff67403ebf728494da09afef (diff)
downloadNetworkManager-f8d151a20dae6c40e947197175ec2aed49dc4a02.tar.gz
ignore return value
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4238 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'src/ppp-manager')
-rw-r--r--src/ppp-manager/nm-ppp-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ppp-manager/nm-ppp-manager.c b/src/ppp-manager/nm-ppp-manager.c
index 3962f6fef4..3624d07dd5 100644
--- a/src/ppp-manager/nm-ppp-manager.c
+++ b/src/ppp-manager/nm-ppp-manager.c
@@ -875,13 +875,14 @@ nm_ppp_manager_start (NMPPPManager *manager,
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));