mobile-shell/mosh
View on GitHubUndocumented behavior: mosh drops exit code of command executed on target, returns overall session success instead
Open
#1,010 opened on Oct 2, 2018
docsfeaturegood first issue
Repository metrics
- Stars
- (12,063 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
I would expect mosh --local 127.0.0.1 "sh -c 'exit 42'" ; echo $? to exit with code 42 as does ssh, but it exits with 0. Is this behavior intentional?