mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-24 04:55:42 +00:00
Specify the tty app to stop.
This commit is contained in:
parent
e25563f85c
commit
6aa6ff5773
@ -44,7 +44,7 @@ exports.kill = kill = (app) ->
|
||||
updateDeviceInfo(status: 'Stopping')
|
||||
container = docker.getContainer(app.containerId)
|
||||
console.log('Stopping and deleting container:', container)
|
||||
tty.stop()
|
||||
tty.stop(app.id)
|
||||
.catch (err) ->
|
||||
console.error('Error stopping tty', err)
|
||||
return # Even if stopping the tty fails we want to finish stopping the container
|
||||
|
Loading…
x
Reference in New Issue
Block a user