summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7db9434..c3f60ac 100644
--- a/main.go
+++ b/main.go
@@ -42,8 +42,14 @@ func main() {
root := must(os.OpenRoot(*Profile))
defer root.Close()
go func() { must[any](nil, ingest.AddProfile(root.FS(), 0)) }()
- must[any](nil, storage.UI())
+ if err != nil {
+
+ }
if !*storage.Headless {
+ err = storage.UI()
+ if err != nil {
+ spool.Warn("ui: %v\n", err)
+ }
exec.Command("xdg-open", "http://localhost:4213/").Run()
}