Skip to content

Commit dd855b9

Browse files
committed
Mark exec.Command call as intentional
1 parent cee39d0 commit dd855b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎deck.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func executeDBusMethod(object, path, method, args string) {
185185
// executes a command.
186186
func executeCommand(cmd string) {
187187
args := strings.Split(cmd, " ")
188-
c := exec.Command(args[0], args[1:]...)
188+
c := exec.Command(args[0], args[1:]...) //nolint:gosec
189189
if err := c.Start(); err != nil {
190190
log.Printf("command failed: %s", err)
191191
return

0 commit comments

Comments
 (0)
⌂ 换网址