Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.

Commit

Permalink
🍶 fix tale-cli show status error
Browse files Browse the repository at this point in the history
  • Loading branch information
hellokaton committed Oct 23, 2017
1 parent 50f4106 commit 723510f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tale-cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func main() {
app.Usage = "tale的命令行帮助程序"
app.Author = "https://github.com/biezhi"
app.Email = "[email protected]"
app.Version = "0.0.3"
app.Version = "0.0.4"

app.Commands = []cli.Command{
{
Expand Down Expand Up @@ -180,7 +180,6 @@ func doUpgrade(ctx *cli.Context) {

// find tale.jar process id
func findPid() int {
jarFileName := "tale.jar"
pidByte, err := exec.Command("/bin/sh", "-c", `ps -eaf|grep "`+jarFileName+`"|grep -v "grep"|awk '{print $2}'`).Output()
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 723510f

Please sign in to comment.