Skip to content

Commit

Permalink
Mark exec.Command call as intentional
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Jun 8, 2021
1 parent cee39d0 commit dd855b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deck.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func executeDBusMethod(object, path, method, args string) {
// executes a command.
func executeCommand(cmd string) {
args := strings.Split(cmd, " ")
c := exec.Command(args[0], args[1:]...)
c := exec.Command(args[0], args[1:]...) //nolint:gosec
if err := c.Start(); err != nil {
log.Printf("command failed: %s", err)
return
Expand Down

0 comments on commit dd855b9

Please sign in to comment.