mirror of
https://github.com/rclone/rclone.git
synced 2026-10-09 22:45:26 -04:00
The start function was run inside an if condition, where bash ignores
errexit, so a failed docker run was not noticed. The script then
printed its connection details anyway and the test spent 100 seconds
trying to connect before failing with a message that hid the real
error.
Run start in a subshell with errexit on and check its status
explicitly so the failure is reported immediately with docker's
error message.
(cherry picked from commit 4cf1da0d4f)