diff --git a/Makefile b/Makefile index 57eb4d2..b3033ac 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=0.0.02 +VERSION=0.0.03 fmt: gofmt -w -s *.go diff --git a/ui.go b/ui.go index 78a4395..6f1296b 100644 --- a/ui.go +++ b/ui.go @@ -248,10 +248,10 @@ func (c *firefox) kill() error { func newFirefoxWithArgs(firefoxBinary string, args ...string) (*firefox, error) { // The first two IDs are used internally during the initialization - if firefoxBinary == "" { - PromptDownload() - return nil, fmt.Errorf("Firefox not found.") - } + if firefoxBinary == "" { + PromptDownload() + return nil, fmt.Errorf("Firefox not found.") + } c := &firefox{ id: 2, }