mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-04 13:44:22 +01:00
We capture the output in case we need to resubmit the command after restarting, but we weren't printing it out on failure (set -e means we'd stop immediately). As a side-effect of this change, we don't restart after failed commands, which caused another bug: we were writing the 2->3 route to the config file, but not restarting again, so we lost the route. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>