mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-01 00:45:25 +00:00
015af7e6c7
DO_WITH_DEBUG traces command exit status (if failed), stdout/stderr (if not empty), and PATH (if command was not found). The caller still observes the exit status, and stdout/stderr still go to the caller as well. This way, DO_WITH_DEBUG can be inserted anywhere with minimal spam in the logs and without affecting the script. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>