Skip to content

Commit

Permalink
fix gosec linter error in simd/testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
kocubinski committed Dec 12, 2024
1 parent 9b504b8 commit 1384bc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simapp/simd/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,9 @@ func startTestnet(
_, nodeDir := getNodeDir(args, i)

// run start command
binName := cmd.Root().Use
cmdArgs := []string{"start", fmt.Sprintf("--%s=%s", flags.FlagHome, nodeDir)}
runCmd := exec.Command(os.Args[0], cmdArgs...) // spawn new process
runCmd := exec.Command(binName, cmdArgs...) // spawn new process

// Set stdout and stderr based on enableLogging flag
if args.enableLogging {
Expand Down

0 comments on commit 1384bc6

Please sign in to comment.