mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-02 11:39:06 +02:00
Remove unused arg
This commit is contained in:
@@ -403,11 +403,3 @@ func (s *Server) killProcessGroup(cmd *exec.Cmd) {
|
|||||||
logger.Debugf("kill process failed: %v", err)
|
logger.Debugf("kill process failed: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// buildShellArgs builds shell arguments for executing commands
|
|
||||||
func buildShellArgs(shell, command string) []string {
|
|
||||||
if command != "" {
|
|
||||||
return []string{shell, "-Command", command}
|
|
||||||
}
|
|
||||||
return []string{shell}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user