Thanks for filing this bug, Jeff! I agree with Chad, this is a bug; the help text for the --wait options reads:
-w, --wait Block waiting on cloud-init to complete
I can't think of cases where someone might be running `cloud-init status --wait` and relying on the current behaviour of exit-early-in-case-of-error, so I think the correct thing to do here is to modify the behaviour of --wait to match its help text.
Thanks for filing this bug, Jeff! I agree with Chad, this is a bug; the help text for the --wait options reads:
-w, --wait Block waiting on cloud-init to complete
I can't think of cases where someone might be running `cloud-init status --wait` and relying on the current behaviour of exit-early- in-case- of-error, so I think the correct thing to do here is to modify the behaviour of --wait to match its help text.