return SIGAR_ENOENT if sigar_net_interface_config_primary_get fails
This commit is contained in:
parent
9d528d6d78
commit
7dab1f69a2
@ -1899,7 +1899,7 @@ sigar_net_interface_config_primary_get(sigar_t *sigar,
|
||||
return SIGAR_OK;
|
||||
}
|
||||
else {
|
||||
return !SIGAR_OK;
|
||||
return SIGAR_ENOENT;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user