From 540e066acf2d081be02efad0f91ae6d86b1a46a8 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 5 Jan 2021 00:10:54 -0500 Subject: [PATCH] fix: return the failed exit code --- contrib/dokku_client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/dokku_client.sh b/contrib/dokku_client.sh index 96a949665..bd7fdd583 100755 --- a/contrib/dokku_client.sh +++ b/contrib/dokku_client.sh @@ -153,7 +153,7 @@ main() { ssh_exit_code="$?" echo " ! Failed to execute dokku command over ssh: exit code $?" 1>&2 echo " ! If there was no output from Dokku, ensure your configured SSH Key can connect to the remote server" 1>&2 - echo $ssh_exit_code + return $ssh_exit_code } }