From 26c0bb8b1ab242937abe3b4ca5a1fe8a0ecc7974 Mon Sep 17 00:00:00 2001 From: Manuel Date: Tue, 2 Jan 2018 17:43:53 +0100 Subject: [PATCH] typo --- ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh.go b/ssh.go index 099a329..7bf7f4c 100644 --- a/ssh.go +++ b/ssh.go @@ -96,7 +96,7 @@ func channelHandler(srv *ssh.Server, conn *gossh.ServerConn, newChan gossh.NewCh } actx := ctx.Value(authContextKey).(*authContext) - logs_locations := ctx.Value("logs-location").(*authContext) + logs_location := actx.globalContext.String("logs-location") switch actx.userType() { case UserTypeBastion: