mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-12 16:57:32 -04:00
print verbose status for /bin/mv -v
This commit is contained in:
parent
57698127fb
commit
08bb90faa3
@ -161,6 +161,7 @@ function lib.recurse(fromPath, toPath, options, origin, top)
|
||||
if (toReal.."/"):find(fromReal.."/",1,true) then
|
||||
return nil, "cannot write a directory, '" .. fromPath .. "', into itself, '" .. toPath .. "'"
|
||||
elseif mv then
|
||||
status(verbose, fromPath, toPath)
|
||||
return os.rename(fromPath, toPath)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user