mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
version/distro: look for absolute synology path
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
This commit is contained in:
parent
2f60ab92dd
commit
4ed111281b
@ -40,7 +40,7 @@ func haveDir(file string) bool {
|
||||
|
||||
func linuxDistro() Distro {
|
||||
switch {
|
||||
case haveDir("usr/syno"):
|
||||
case haveDir("/usr/syno"):
|
||||
return Synology
|
||||
case have("/etc/debian_version"):
|
||||
return Debian
|
||||
|
Loading…
Reference in New Issue
Block a user