~edwargix/git.sr.ht

bc2ed40a4c6b0d9a09e4d2a3e3528895e89cba1e — Drew DeVault 6 years ago e306e2b
gitsrht-shell: fix error in os.Args check
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht-shell/main.go
M gitsrht-shell/main.go => gitsrht-shell/main.go +1 -1
@@ 51,7 51,7 @@ func main() {
		logger = log.New(logf, "", log.LstdFlags)
	}

	if len(os.Args) < 2 {
	if len(os.Args) < 3 {
		logger.Fatalf("Expected two arguments from SSH")
	}
	logger.Printf("os.Args: %v", os.Args)