fix: return the failed exit code

This commit is contained in:
Jose Diaz-Gonzalez
2021-01-05 00:10:54 -05:00
committed by GitHub
parent 83d8c8448b
commit 540e066acf

View File

@@ -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
}
}