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:
parent
63cf2d75d6
commit
0cab6f7db8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user