Remove unused var

This commit is contained in:
Frank Denis 2019-01-02 22:59:16 +01:00
parent 30da550307
commit b886585486
2 changed files with 0 additions and 4 deletions

View File

@ -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" {

View File

@ -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" {