mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Don't exit after handling daemon mode
The function that called us has just created a temp dir, and scheduled a defer to remove it again; by calling os.Exit we short-cut this defer, and don't clean up the temp dir. There is no reason to exit here, the calling function will return after having called us.
This commit is contained in:
parent
f4afeed9ff
commit
6a17144ef4
|
|
@ -76,8 +76,6 @@ func Handle(common *common.Common) {
|
|||
if err := instruction.run(common); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
func InDaemonMode() bool {
|
||||
|
|
|
|||
Loading…
Reference in a new issue