summaryrefslogtreecommitdiff
path: root/libpod/oci_conmon_linux.go
diff options
context:
space:
mode:
authorErik Sjölund <erik.sjolund@gmail.com>2022-07-11 21:59:32 +0200
committerErik Sjölund <erik.sjolund@gmail.com>2022-07-11 21:59:32 +0200
commit377057b4005a1cad035240a5557368cb2e6232f8 (patch)
treefff83c9c7570b70fe8300cf3bcbe2ca29a6e5a16 /libpod/oci_conmon_linux.go
parent810cbf1fb9411f75868b82c1071937374e9d57e4 (diff)
downloadpodman-377057b4005a1cad035240a5557368cb2e6232f8.tar.gz
podman-377057b4005a1cad035240a5557368cb2e6232f8.tar.bz2
podman-377057b4005a1cad035240a5557368cb2e6232f8.zip
[CI:DOCS] Improve language. Fix spelling and typos.
* Correct spelling and typos. * Improve language. Co-authored-by: Ed Santiago <santiago@redhat.com> Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
Diffstat (limited to 'libpod/oci_conmon_linux.go')
-rw-r--r--libpod/oci_conmon_linux.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/oci_conmon_linux.go b/libpod/oci_conmon_linux.go
index 121e750f4..abc579519 100644
--- a/libpod/oci_conmon_linux.go
+++ b/libpod/oci_conmon_linux.go
@@ -1388,7 +1388,7 @@ func (r *ConmonOCIRuntime) sharedConmonArgs(ctr *Container, cuuid, bundlePath, p
}
func startCommand(cmd *exec.Cmd, ctr *Container) error {
- // Make sure to unset the NOTIFY_SOCKET and reset if afterwards if needed.
+ // Make sure to unset the NOTIFY_SOCKET and reset it afterwards if needed.
switch ctr.config.SdNotifyMode {
case define.SdNotifyModeContainer, define.SdNotifyModeIgnore:
if ctr.notifySocket != "" {
@@ -1667,7 +1667,7 @@ func httpAttachNonTerminalCopy(container *net.UnixConn, http *bufio.ReadWriter,
// multiplexing by Conmon).
headerLen := uint32(numR - 1)
// Practically speaking, we could make this buf[0] - 1,
- // but we need to validate it anyways...
+ // but we need to validate it anyway.
switch buf[0] {
case AttachPipeStdin:
headerBuf = makeHTTPAttachHeader(0, headerLen)