Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagorlampert committed Oct 26, 2024
1 parent 4ab5f9a commit 185665d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/client/client_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (c clientService) BuildClient(input BuildClientBinaryInput) (string, error)
switch system.DetectOS() {
case system.Windows:
cmd = exec.Command("cmd")
cmd.SysProcAttr = syscallCmd.GetSyscallCmdLine(buildCmd)
cmd.SysProcAttr = syscallCmd.GetCmdSyscall(buildCmd)
break
default:
cmd = exec.Command("sh", "-c", buildCmd)
Expand Down
2 changes: 1 addition & 1 deletion services/client/syscall_cmd/syscall_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package syscall_cmd

import "syscall"

func GetSyscallCmdLine(cmd string) *syscall.SysProcAttr {
func GetCmdSyscall(cmd string) *syscall.SysProcAttr {
return &syscall.SysProcAttr{}
}

0 comments on commit 185665d

Please sign in to comment.