From b61c9bfc5ebc3a6241ad056a057afd6785421e40 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Tue, 12 Nov 2024 18:01:59 +0800 Subject: [PATCH] Update wgd.sh --- src/wgd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wgd.sh b/src/wgd.sh index 2714725..999a4b8 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -65,7 +65,7 @@ _determineOS(){ OS=$ID elif [ -f /etc/redhat-release ]; then OS="redhat" - elif [ "$(uname)" = "OpenBSD" ] && [ "$(uname)" = "7.6" ]; then + elif [ "$(uname)" = "OpenBSD" ] && [ "$(uname -r)" = "7.6" ]; then OS="openbsd" else printf "[WGDashboard] %s Sorry, your OS is not supported. Currently the install script only support Debian-based, Red Hat-based OS. With experimental support for Alpine Linux.\n" "$heavy_crossmark"