avoid uname -o on !linux and catch any exception from it

Fix bug in last release that prevented the webapp opening on non-Linux systems.

This commit was sponsored by Jake Vosloo on Patreon.
This commit is contained in:
Joey Hess 2018-05-08 14:06:19 -04:00
parent b2e03bb428
commit 2948f6d916
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 24 additions and 2 deletions

View file

@ -55,3 +55,5 @@ WebApp crashed: user error (uname ["-o"] exited 1)
Yup! git-annex is great! Thanks for all your hard work on this project Joey!!
—Andrew
> [[fixed|done]] --[[Joey]]