mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-24 03:21:36 +01:00
tea open: don't wait for browser to close again
failed when no browser is running before calling tea open
This commit is contained in:
parent
7c30579900
commit
3461d96d08
@ -72,7 +72,7 @@ func runOpen(ctx *cli.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
u := path.Join(login.URL, owner, repo, suffix)
|
u := path.Join(login.URL, owner, repo, suffix)
|
||||||
err := open.Run(u)
|
err := open.Start(u)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user