make os.nuldev() return os._NULDEV directly
prev commit fixed process redirect
so that this can simply redirect to nuldev
@@ -627,12 +627,8 @@ end
-- get the system null device
function os.nuldev()
- if os.isroot() then
- return os.tmpfile()
- else
return xmake._NULDEV
end
-end
-- check run command as root
function os.isroot()
