version/distro: look for absolute synology path

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
pull/1644/head
David Crawshaw 4 years ago committed by David Crawshaw
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…
Cancel
Save