Brad Fitzpatrick
39bc0bd418
ssh/tailssh: propagate command exit codes through macOS login
...
macOS login forks the command and always exits 0, so Tailscale SSH
commands run as root on macOS always reported exit status 0. Run login
as a child instead, with a /bin/sh wrapper that writes the command's
exit status to a temp file, and exit with that status.
Also add a macOS job to the ssh-integrationtest workflow, which would
have caught this, and fix the integration tests that assumed /proc or
Linux stty output.
Fixes #18256
Change-Id: I694595f92edb41109d50018d6c221826eef5d0b8
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2026-12-05 01:51:22 +00:00
..
2026-11-20 12:44:01 -08:00
2026-10-24 13:55:35 -07:00
2026-10-24 13:55:35 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-10-26 10:00:23 -07:00
2026-10-26 10:00:23 -07:00
2026-10-26 15:08:03 -07:00
2026-10-26 15:09:58 -07:00
2026-10-30 16:39:06 -07:00
2026-10-26 15:11:58 -07:00
2026-10-29 15:43:08 -07:00
2026-10-26 07:49:11 -07:00
2026-10-26 07:49:11 -07:00
2026-10-26 13:10:45 -07:00
2026-10-30 16:39:06 -07:00
2026-10-26 11:34:49 -07:00
2026-10-26 17:42:07 -07:00
2026-10-26 17:42:07 -07:00
2026-10-26 15:09:58 -07:00
2026-10-26 13:10:45 -07:00
2026-10-26 11:34:49 -07:00
2026-10-26 13:10:45 -07:00
2026-10-26 17:42:07 -07:00
2026-10-26 15:09:58 -07:00
2026-12-04 14:34:35 -08:00
2026-12-04 14:34:35 -08:00
2026-01-23 15:49:45 -08:00
2026-11-30 17:28:47 -08:00
2026-11-03 12:36:20 -08:00
2026-12-05 01:51:22 +00:00
2026-10-26 12:11:07 -07:00
2026-10-25 11:31:39 -07:00
2026-10-26 07:49:11 -07:00
2026-10-30 16:39:06 -07:00
2026-10-28 15:17:19 -07:00
2026-10-30 16:39:06 -07:00
2026-10-30 16:39:06 -07:00
2026-10-25 17:28:51 -07:00
2026-10-26 07:49:11 -07:00
2026-10-26 13:10:45 -07:00
2026-12-04 06:50:29 -08:00
2026-10-30 16:39:06 -07:00
2026-10-30 16:39:06 -07:00
2026-10-30 16:39:06 -07:00
2026-11-23 08:54:18 -08:00
2026-10-30 16:39:06 -07:00
2026-10-28 14:47:00 -07:00
2026-04-10 10:48:50 -07:00
2026-10-30 16:39:06 -07:00
2026-10-30 16:39:06 -07:00
2026-10-25 20:08:58 -07:00
2026-12-04 14:34:35 -08:00
2026-10-30 16:39:06 -07:00
2026-10-26 12:11:07 -07:00
2026-11-03 12:36:20 -08:00
2026-10-30 16:39:06 -07:00
2026-09-15 19:32:40 -07:00
2026-10-29 15:43:08 -07:00
2026-10-29 15:43:08 -07:00
2026-07-30 10:18:00 +02:00
2026-07-30 10:18:00 +02:00
2026-10-25 20:08:58 -07:00
2026-11-20 12:44:01 -08:00
2026-12-03 14:01:37 -08:00
2026-12-05 01:51:22 +00:00
2026-11-20 12:44:01 -08:00
2026-10-26 08:48:36 -07:00
2026-10-28 14:47:00 -07:00
2026-10-26 10:44:30 -07:00
2026-10-26 10:44:30 -07:00
2026-10-26 20:06:51 -07:00
2026-10-30 16:39:06 -07:00
2026-10-26 08:48:36 -07:00
2026-10-26 20:06:51 -07:00
2026-10-26 08:48:36 -07:00