sshkit
sshkit copied to clipboard
Exit status appears to be different between INFO and DEBUG for the same error
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
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.
That explains why I can't find this!
Close-able?
I should think so :) :closed_lock_with_key: