1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-12 09:17:44 +03:00

firstboot: include error cause in log message

This commit is contained in:
Yu Watanabe 2018-10-20 01:54:52 +09:00
parent 63cf2d75d6
commit 0cab6f7db8

View 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) {