Compare commits

...

2 Commits

Author SHA1 Message Date
sammyette 3d0fffd49a
chore: merge from upstream 2023-02-19 15:12:34 -04:00
sammyette 013fa30658
fix: correct job management commands to call with colon 2023-02-19 15:11:55 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ commander.register('bg', function(_, sinks)
return 1 return 1
end end
local err = job.background() local err = job:background()
if err then if err then
sinks.out:writeln('bg: ' .. err) sinks.out:writeln('bg: ' .. err)
return 2 return 2

View File

@ -7,7 +7,7 @@ commander.register('fg', function(_, sinks)
return 1 return 1
end end
local err = job.foreground() -- waits for job; blocks local err = job:foreground() -- waits for job; blocks
if err then if err then
sinks.out:writeln('fg: ' .. err) sinks.out:writeln('fg: ' .. err)
return 2 return 2