Fix wrong place to check disable SSH

This commit is contained in:
Unknwon
2016-02-21 21:55:59 -05:00
parent 6e74dd4388
commit c9516c4c60
5 changed files with 10 additions and 8 deletions

View File

@ -16,7 +16,7 @@ import (
var CmdUpdate = cli.Command{
Name: "update",
Usage: "This command should only be called by SSH shell",
Usage: "This command should only be called by Git hook",
Description: `Update get pushed info and insert into database`,
Action: runUpdate,
Flags: []cli.Flag{