mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
Fix documentation/comment typos
This patch fixes a variety of typos in documentation and comments, found by running `codespell`.
This commit is contained in:
@@ -845,7 +845,7 @@ func (c *Conn) runPostDataHook(data []byte) ([]byte, bool, error) {
|
||||
cmd.Stdin = bytes.NewReader(data)
|
||||
|
||||
// Prepare the environment, copying some common variables so the hook has
|
||||
// someting reasonable, and then setting the specific ones for this case.
|
||||
// something reasonable, and then setting the specific ones for this case.
|
||||
for _, v := range strings.Fields("USER PWD SHELL PATH") {
|
||||
cmd.Env = append(cmd.Env, v+"="+os.Getenv(v))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user