diff options
Diffstat (limited to 'plugins/portname/init.lua')
-rw-r--r-- | plugins/portname/init.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/portname/init.lua b/plugins/portname/init.lua index 926bf442a45..24cdc50facf 100644 --- a/plugins/portname/init.lua +++ b/plugins/portname/init.lua @@ -25,7 +25,6 @@ exports.license = "The BSD 3-Clause License" exports.author = { name = "Carl" } local portname = exports -local util = require("util") function portname.startplugin() local json = require("json") @@ -130,7 +129,7 @@ function portname.startplugin() local function check_path(path) local attr = lfs.attributes(path) if not attr then - util.mkdir_recursive(path) + lfs.mkdir(path) if not lfs.attributes(path) then manager.machine:popmessage(_("Failed to save input name file")) emu.print_verbose("portname: unable to create path " .. path .. "\n") |