diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-01-14 06:11:57 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-01-14 06:11:57 +0100 |
commit | 88be168553c2345349c614fbf7a208a32d0ca970 (patch) | |
tree | 9dd45403c91e3b2985c786cafed9da15275624c8 /src/iface.c | |
parent | 2f088e1e27e0905da6d9b527bfff2a569bdef458 (diff) | |
download | connman-88be168553c2345349c614fbf7a208a32d0ca970.tar.gz connman-88be168553c2345349c614fbf7a208a32d0ca970.tar.bz2 connman-88be168553c2345349c614fbf7a208a32d0ca970.zip |
Handle return values of system calls
Diffstat (limited to 'src/iface.c')
-rw-r--r-- | src/iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iface.c b/src/iface.c index 2c7fdfea..a6b0ba24 100644 --- a/src/iface.c +++ b/src/iface.c @@ -252,7 +252,7 @@ int connman_iface_set_ipv4(struct connman_iface *iface, DBG("%s", cmd); - system(cmd); + err = system(cmd); return 0; } @@ -301,7 +301,7 @@ int connman_iface_clear_ipv4(struct connman_iface *iface) DBG("%s", cmd); - system(cmd); + err = system(cmd); return 0; } |