aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_version.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_version.lua b/plugins/mod_version.lua
index 69e914c0..a34ce6f2 100644
--- a/plugins/mod_version.lua
+++ b/plugins/mod_version.lua
@@ -16,7 +16,7 @@ if not module:get_option("hide_os_type") then
if os.getenv("WINDIR") then
version = "Windows";
else
- local uname = io.popen("uname");
+ local uname = io.popen(module:get_option("os_version_command") or "uname");
if uname then
version = uname:read("*a");
else