sshkit icon indicating copy to clipboard operation
sshkit copied to clipboard

Exit status appears to be different between INFO and DEBUG for the same error

Open seenmyfate opened this issue 13 years ago • 4 comments

Appears that SSHKit can report a different exit status depending on whether the log level is :debug or :info:

DEBUG [bb4038c0] Finished in 0.496 seconds with exit status 128 (failed)

vs

INFO [a1a384e9] Finished in 0.014 seconds with exit status 0 (successful)

Originally raised here

seenmyfate avatar Nov 22 '13 16:11 seenmyfate

According to the log in https://github.com/capistrano/capistrano/pull/774 the messages correspond to two different actions. One is the exit status for chmod (the one that comes up last when DEBUG is not on) and the other is for git-ls remote which is completely suppressed. So I guess the cap PR did solve the problem.

damphyr avatar Nov 26 '13 08:11 damphyr

That explains why I can't find this!

leehambley avatar Nov 26 '13 09:11 leehambley

Close-able?

leehambley avatar Nov 26 '13 09:11 leehambley

I should think so :) :closed_lock_with_key:

damphyr avatar Nov 26 '13 09:11 damphyr