mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-12-04 08:07:04 +00:00
e859b4e39a
geninitrd ran genimage --onlyinitrd for netboot and statelite images and ignored its exit status. When genimage failed, geninitrd still exited with 0. The errors that the genimage client writes to stderr did not reach the user. geninitrd now passes the genimage output to the client with stderr included. When genimage ends with a status other than 0, geninitrd reports an error and exits with the genimage exit code, or with 1 when genimage could not run.