summaryrefslogtreecommitdiffstats
path: root/common/hexec/exec.go
diff options
context:
space:
mode:
authorOleksandr Redko <Oleksandr_Redko@epam.com>2023-05-22 20:11:12 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-19 09:26:29 +0200
commit9009c8cdca448e50704f7ecd1a3918c5919b0f37 (patch)
tree960aaa2b80a07c959360ad66fc79ebe7c0fa9632 /common/hexec/exec.go
parent12dc9a6e4acd5280a3e8b1658cbb96669fa97057 (diff)
all: Fix typos in function names and comments
Diffstat (limited to 'common/hexec/exec.go')
-rw-r--r--common/hexec/exec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hexec/exec.go b/common/hexec/exec.go
index 7a9fdd938..95e5162fc 100644
--- a/common/hexec/exec.go
+++ b/common/hexec/exec.go
@@ -118,7 +118,7 @@ func SafeCommand(name string, arg ...string) (*exec.Cmd, error) {
return exec.Command(bin, arg...), nil
}
-// Exec encorces a security policy for commands run via os/exec.
+// Exec enforces a security policy for commands run via os/exec.
type Exec struct {
sc security.Config