this repo has no description

repoguard: better error message for interactive shells

Changed files
+1 -1
cmd
repoguard
+1 -1
cmd/repoguard/main.go
··· 49 }) 50 51 if sshCommand == "" { 52 - exitWithLog("access denied: no ssh command provided") 53 } 54 55 cmdParts := strings.Fields(sshCommand)
··· 49 }) 50 51 if sshCommand == "" { 52 + exitWithLog("access denied: we don't serve interactive shells :)") 53 } 54 55 cmdParts := strings.Fields(sshCommand)