We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0821b1 + a150c98 commit af7d466Copy full SHA for af7d466
pkg/os/linux_kernellog.go
@@ -28,7 +28,7 @@ func (l *Linux) CollectDriveErrors(errors chan<- []DriveError) {
28
command = append([]string{"sudo"}, command...)
29
}
30
31
- cmd := exec.Command(command[0], command[1:]...) //nolint:gosec // inputs are not user supplied
+ cmd := exec.Command(command[0], command[1:]...)
32
cmd.Stderr = os.Stderr
33
stdout := must.Return(cmd.StdoutPipe())
34
must.Succeed(cmd.Start())
0 commit comments