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 49 }) 50 50 51 51 if sshCommand == "" { 52 - exitWithLog("access denied: no ssh command provided") 52 + exitWithLog("access denied: we don't serve interactive shells :)") 53 53 } 54 54 55 55 cmdParts := strings.Fields(sshCommand)