Skip to content

Commit

Permalink
Incorrect logic when changing to use runtime.GOOS for ios
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonPickup committed Nov 3, 2021
1 parent 2478109 commit 92f4276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/api.go
Expand Up @@ -1098,7 +1098,7 @@ func (s *service) getSystemStatus(w http.ResponseWriter, r *http.Request) {
runtime.ReadMemStats(&m)

tilde := "."
if runtime.GOOS == "ios" {
if runtime.GOOS != "ios" {
tilde, _ = fs.ExpandTilde("~")
}
res := make(map[string]interface{})
Expand Down

0 comments on commit 92f4276

Please sign in to comment.