Repository navigation
fix: make the remote ready marker work under tcsh login shells - #5519
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
[Medium impact] The PR appears safe to merge. SummaryFixes the remote ready marker for accounts using tcsh.
No actionable issues found. Tests were not run during this review. The full PR diff was reviewed because the previous and current commits have different merge bases with the target commit. Reviews (2) · Last reviewed commit: "fix: make the remote ready marker work u..." · Reviewed by Greptile |
5f7efd3 to
0efea50
Compare
|
@coderabbitai review |
|
|
hey, waiting for this to be release :) |
refs #4258
herdr machine addfailed against accounts whose login shell is tcsh: syntax errors, then a hang. The remote ready-marker command put literal newlines inside a single-quoted printf format, which tcsh rejects, so the marker never appeared.The format now uses
\nescapes, which printf expands identically on POSIX shells. A regression test runs the generated command undertcsh -fand skips when tcsh isn't installed.Verified end to end against a real localhost tcsh account:
machine addhung on master and completes with this change.just checkpassed on the change, including the Windows lint.