Hi Samuel, > I'd rather do: > if (dhclient == NULL) > return -ESRCH; > > and leave the rest of the code as it is.
It seems to me that dhclient does not clean pid and leases files when it terminates, so I moved unlink to dhclient_died(), too. -- Pekka.Pessi mail at nokia.com _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
