]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
dhcpcd: Don't report errno when aborting here.
authorRoy Marples <roy@marples.name>
Tue, 20 Feb 2018 08:36:53 +0000 (08:36 +0000)
committerRoy Marples <roy@marples.name>
Tue, 20 Feb 2018 08:36:53 +0000 (08:36 +0000)
src/dhcpcd.c

index 7e214c38ae43f621cbe2f728d4b3db36969b5335..8b7da6cace436f360914d90275198ab9edb5edfb 100644 (file)
@@ -1861,7 +1861,7 @@ printpidfile:
                } else
                        goto exit_failure;
                if (!(ctx.options & DHCPCD_LINK)) {
-                       logerr("aborting as link detection is disabled");
+                       logerrx("aborting as link detection is disabled");
                        goto exit_failure;
                }
        }