]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
firstboot: include error cause in log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Oct 2018 16:54:52 +0000 (01:54 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Oct 2018 16:54:52 +0000 (01:54 +0900)
src/firstboot/firstboot.c

index 552e10d1579c0fcd3871652deddcec5a37712e3e..6a939aec0467c6f81f990b7a02ba32d2c669542f 100644 (file)
@@ -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) {