Draft: 7729 - Failed when command in pipe failed
When real-xivo-upgrade crashes or fails, xivo-upgrade should crash and should return exit code 1. This is not the behavior of this bash script before this fix.
The fix for this issue is included in the commit. You can find some explanation here