Source

netplug / main.c

Diff from to
 
     if (attrs[IFLA_IFNAME] == NULL) {
         do_log(LOG_ERR, "No interface name");
-        exit(1);
+        return -1;
     }
 
     char *name = RTA_DATA(attrs[IFLA_IFNAME]);