Skip to content

Commit

Permalink
fix nosec
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikelee committed Dec 5, 2024
1 parent ae9e77f commit 998bd12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbit/pkg/execuser/execuser_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func runWithOutput(path string, opts eopts) (output []byte, exitCode int, err er
cmdArgs = append(cmdArgs, "sudo")
cmdArgs = append(cmdArgs, args...)

cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...) //nosec G204
cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...) // #nosec G204

log.Printf("cmd=%s", cmd.String())

Expand Down

0 comments on commit 998bd12

Please sign in to comment.