fix: return the failed exit code
This commit is contained in:
committed by
GitHub
parent
83d8c8448b
commit
540e066acf
@@ -153,7 +153,7 @@ main() {
|
|||||||
ssh_exit_code="$?"
|
ssh_exit_code="$?"
|
||||||
echo " ! Failed to execute dokku command over ssh: exit code $?" 1>&2
|
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 " ! 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user