The c621a007340913aa4832f3fda195b29114a41a6a broke cli run command. It was possible to "run --newprogram /myapp". But "run /myapp" didn't do anything - it didn't even complain about "Failed to load object: /myapp".
Signed-off-by: Justin Cinkelj <justin.cink...@xlab.si> --- modules/cli/commands/run.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/cli/commands/run.lua b/modules/cli/commands/run.lua index c0d7d46..c33d346 100644 --- a/modules/cli/commands/run.lua +++ b/modules/cli/commands/run.lua @@ -17,7 +17,8 @@ Options: cmd.main = function(args) local args, opts = cmd.parser:parse(args) - flag_newprogram = opts.newprogram + flag_newprogram = 0 + if opts.newprogram then flag_newprogram=1 end for i = 1, #args do osv_request({"app"}, "PUT", { -- 2.9.4 -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.