From: Yu Watanabe Date: Fri, 19 Oct 2018 16:54:52 +0000 (+0900) Subject: firstboot: include error cause in log message X-Git-Tag: v240~503^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cab6f7db8f59de92546183e4551e5273285e458;p=thirdparty%2Fsystemd.git firstboot: include error cause in log message --- diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index 552e10d1579..6a939aec046 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -952,7 +952,7 @@ int main(int argc, char *argv[]) { r = proc_cmdline_get_bool("systemd.firstboot", &enabled); if (r < 0) { - log_error_errno(r, "Failed to parse systemd.firstboot= kernel command line argument, ignoring."); + log_error_errno(r, "Failed to parse systemd.firstboot= kernel command line argument, ignoring: %m"); goto finish; } if (r > 0 && !enabled) {