[lxc-devel] [lxc/lxc] 267bc7: lxc-monitord: exit when got a quit command

GitHub noreply at github.com
Sat Jul 1 09:43:15 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 267bc7eda8443c3a985e5b82289ab1ed533f2e16
      https://github.com/lxc/lxc/commit/267bc7eda8443c3a985e5b82289ab1ed533f2e16
  Author: 0x0916 <w at laoqinren.net>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/lxc_monitord.c

  Log Message:
  -----------
  lxc-monitord: exit when got a quit command

lxc-monitor has an option to tell lxc-monitord to quit.

```
~/lxc (master) # lxc-monitor --help
lxc-monitor monitors the state of the NAME container

Options :
  -n, --name=NAME   NAME of the container
              NAME may be a regular expression
  -Q, --quit        tell lxc-monitord to quit
```
But it does not work. This patch fix that.

Signed-off-by: 0x0916 <w at laoqinren.net>


  Commit: 066e9fe8b5e788d60bc0259efd5197fc27e00a8d
      https://github.com/lxc/lxc/commit/066e9fe8b5e788d60bc0259efd5197fc27e00a8d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
    M src/lxc/lxc_monitord.c

  Log Message:
  -----------
  Merge pull request #1662 from 0x0916/2017-07-01/lxc-monitor-quit

lxc-monitord: exit when got a quit command


Compare: https://github.com/lxc/lxc/compare/86ccab2e9b8f...066e9fe8b5e7


More information about the lxc-devel mailing list