[lxc-devel] [lxc/lxc] 576b95: lxc-attach: make sure exit status of command is re...

Stéphane Graber noreply at github.com
Tue Aug 27 19:36:06 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 576b950f6c3b1f7d8d32d9e5c3e6ec053e393765
      https://github.com/lxc/lxc/commit/576b950f6c3b1f7d8d32d9e5c3e6ec053e393765
  Author: Antonio Terceiro <terceiro at debian.org>
  Date:   2019-08-26 (Mon, 26 Aug 2019)

  Changed paths:
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  lxc-attach: make sure exit status of command is returned

Commit ae68cad763d5b39a6a9e51de2acd1ad128b720ca introduced a regression that
makes lxc-attach ignore the exit status of the executed command. This was first
identified in 3.0.4 LTS, while it worked on 3.0.3.

  # lxc-attach --version
  3.0.4
  # lxc-attach -n test false; echo $?
  0

Signed-off-by: Antonio Terceiro <terceiro at debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934983


  Commit: 61287e52414c5483a44f1ac75c19cd14ab0e8c33
      https://github.com/lxc/lxc/commit/61287e52414c5483a44f1ac75c19cd14ab0e8c33
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2019-08-27 (Tue, 27 Aug 2019)

  Changed paths:
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  Merge pull request #3122 from terceiro/lxc-attach-exit-status

lxc-attach: make sure exit status of command is returned


Compare: https://github.com/lxc/lxc/compare/082606980eb4...61287e52414c


More information about the lxc-devel mailing list