Forward upstream exit code on `cloudron exec`
-
One takeaway from the meetup yesterday, if
cloudron exec
runs a remote command and exits, it will not forward the remote command's exit code, but basically always returns 0. This makes it harder to be used in piplines or shell scripts.We should be able to get the remote exit code and then set that one as the
cloudron
exit code.