Skip to content

Commit

Permalink
Merge pull request #1145 from jrgarcia/trim-trailing-slash-lock
Browse files Browse the repository at this point in the history
Remove trailing slash from lock
  • Loading branch information
armon committed Jul 30, 2015
2 parents 018fd69 + 4cb6f3e commit 6b4af30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions command/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func (c *LockCommand) Run(args []string) int {
return 1
}
prefix := extra[0]
prefix = strings.TrimPrefix(prefix, "/")
script := strings.Join(extra[1:], " ")

// Calculate a session name if none provided
Expand Down

0 comments on commit 6b4af30

Please sign in to comment.