1
0
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:
Alberto Bertogli
2023-10-07 12:40:59 +01:00
parent 43e98e08a8
commit 5cdbd9ff6e
15 changed files with 16 additions and 16 deletions

View File

@@ -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))
}