mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-31 01:24:31 +00:00
removed debug printing
This commit is contained in:
parent
0edbc43804
commit
17a2a9e5f4
1 changed files with 0 additions and 4 deletions
|
@ -253,10 +253,6 @@ func getCmdAndArgs(ctx context.Context, proc process, message Message) *exec.Cmd
|
|||
// UseDetectedShell defaults to false , or it was not set in message.
|
||||
// Return a cmd based only on what was defined in the message.
|
||||
if !message.UseDetectedShell {
|
||||
fmt.Printf("\n *** UseDetectedShell was set to false: %v\n", message.UseDetectedShell)
|
||||
fmt.Printf("args in q : %q\n", message.MethodArgs)
|
||||
fmt.Printf("args in v : %v\n\n", message.MethodArgs)
|
||||
|
||||
cmd = exec.CommandContext(ctx, message.MethodArgs[0], message.MethodArgs[1:]...)
|
||||
return cmd
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue