]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-attach: make sure exit status of command is returned 3122/head
authorAntonio Terceiro <terceiro@debian.org>
Sun, 18 Aug 2019 20:30:32 +0000 (17:30 -0300)
committerAntonio Terceiro <terceiro@debian.org>
Mon, 26 Aug 2019 19:10:51 +0000 (16:10 -0300)
commit576b950f6c3b1f7d8d32d9e5c3e6ec053e393765
tree46412e11d42e6a46dc8f33f6e2194150ba2237c1
parentfaec88e5ac556d41fb4ee3c12f6fe956070ed516
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@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934983
src/lxc/tools/lxc_attach.c