Skip to content

Commit af7d466

Browse files
authored
Merge pull request #248 from sapcc/fix-lints
2 parents b0821b1 + a150c98 commit af7d466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/os/linux_kernellog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (l *Linux) CollectDriveErrors(errors chan<- []DriveError) {
2828
command = append([]string{"sudo"}, command...)
2929
}
3030

31-
cmd := exec.Command(command[0], command[1:]...) //nolint:gosec // inputs are not user supplied
31+
cmd := exec.Command(command[0], command[1:]...)
3232
cmd.Stderr = os.Stderr
3333
stdout := must.Return(cmd.StdoutPipe())
3434
must.Succeed(cmd.Start())

0 commit comments

Comments
 (0)