Remove unused var
This commit is contained in:
parent
30da550307
commit
b886585486
|
@ -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…
Reference in New Issue