1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-22 19:27:42 +00:00

fix invalid msg crashing socket

This commit is contained in:
kepler155c@gmail.com
2018-11-09 15:07:55 -05:00
parent cb03e56a1f
commit 68ee419d83
4 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ _G.requireInjector(_ENV)
local Ansi = require('ansi')
local Packages = require('packages')
local UI = require('ui')
local Util = require('util')
local colors = _G.colors
local shell = _ENV.shell
@@ -75,7 +74,7 @@ end
function page:run(operation, name)
local oterm = term.redirect(self.action.output.win)
self.action.output:clear()
local cmd = string.format('Package %s %s', operation, name)
local cmd = string.format('package %s %s', operation, name)
--for _ = 1, 3 do
-- print(cmd .. '\n')
-- os.sleep(1)