mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-19 05:02:34 +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 {
|
func linuxDistro() Distro {
|
||||||
switch {
|
switch {
|
||||||
case haveDir("usr/syno"):
|
case haveDir("/usr/syno"):
|
||||||
return Synology
|
return Synology
|
||||||
case have("/etc/debian_version"):
|
case have("/etc/debian_version"):
|
||||||
return Debian
|
return Debian
|
||||||
|
Loading…
x
Reference in New Issue
Block a user