aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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 52d8d290..d35103b6 100644
--- a/plugins/mod_version.lua
+++ b/plugins/mod_version.lua
@@ -21,7 +21,7 @@ if not module:get_option("hide_os_type") then
version = "Windows";
else
local os_version_command = module:get_option("os_version_command");
- local ok pposix = pcall(require, "pposix");
+ local ok, pposix = pcall(require, "util.pposix");
if not os_version_command and (ok and pposix and pposix.uname) then
version = pposix.uname().sysname;
end