mirror of
				https://github.com/nkanaev/yarr.git
				synced 2025-10-31 06:53:30 +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.ContainsRune(addr, os.PathSeparator) { | ||||
| 		log.Fatal("Cannot open unix socket path (", addr, ") in browser") | ||||
| 	} | ||||
|  | ||||
| 	if db == "" { | ||||
| 		configPath, err := os.UserConfigDir() | ||||
| 		if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user