mirror of
				https://github.com/nkanaev/yarr.git
				synced 2025-10-30 22:43:29 +00:00 
			
		
		
		
	Listen on AF_UNIX socket if -addr is a path
This commit is contained in:
		| @@ -90,6 +90,10 @@ func main() { | ||||
| 		log.SetOutput(os.Stdout) | ||||
| 	} | ||||
|  | ||||
| 	if open && strings.HasPrefix(addr, "unix:") { | ||||
| 		log.Fatal("Cannot open ", addr, " in browser") | ||||
| 	} | ||||
|  | ||||
| 	if db == "" { | ||||
| 		configPath, err := os.UserConfigDir() | ||||
| 		if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user