diff options
Diffstat (limited to 'src/network/networkd-netdev.c')
-rw-r--r-- | src/network/networkd-netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c index 762eff2f62..92548d96f0 100644 --- a/src/network/networkd-netdev.c +++ b/src/network/networkd-netdev.c @@ -461,7 +461,7 @@ static int netdev_load_one(Manager *manager, const char *filename) { if (errno == ENOENT) return 0; else - return errno; + return -errno; } netdev = new0(NetDev, 1); |