mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-06 22:57:37 +03:00
Remove unused var
This commit is contained in:
parent
30da550307
commit
b886585486
2 changed files with 0 additions and 4 deletions
|
@ -12,8 +12,6 @@ import (
|
|||
"github.com/jedisct1/dlog"
|
||||
)
|
||||
|
||||
var cmd *exec.Cmd
|
||||
|
||||
func (proxy *Proxy) dropPrivilege(userStr string, fds []*os.File) {
|
||||
currentUser, err := user.Current()
|
||||
if err != nil && currentUser.Uid != "0" {
|
||||
|
|
|
@ -14,8 +14,6 @@ import (
|
|||
"github.com/jedisct1/dlog"
|
||||
)
|
||||
|
||||
var cmd *exec.Cmd
|
||||
|
||||
func (proxy *Proxy) dropPrivilege(userStr string, fds []*os.File) {
|
||||
currentUser, err := user.Current()
|
||||
if err != nil && currentUser.Uid != "0" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue