Merge pull request #293 from tommie/fixes

Allow -sftp to work in server_integration_test
diff --git a/server_integration_test.go b/server_integration_test.go
index f9ecaba..7baf99d 100644
--- a/server_integration_test.go
+++ b/server_integration_test.go
@@ -35,7 +35,6 @@
 func TestMain(m *testing.M) {
 	sftpClientLocation, _ := exec.LookPath("sftp")
 	testSftpClientBin = flag.String("sftp_client", sftpClientLocation, "location of the sftp client binary")
-	flag.Parse()
 
 	lookSFTPServer := []string{
 		"/usr/libexec/sftp-server",
@@ -51,6 +50,7 @@
 		}
 	}
 	testSftp = flag.String("sftp", sftpServer, "location of the sftp server binary")
+	flag.Parse()
 
 	os.Exit(m.Run())
 }