[lxc-devel] [lxc/lxc] 969b7d: lxc-download: Ignore return code from subshell

GitHub noreply at github.com
Thu Feb 27 20:48:29 UTC 2014


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 969b7d7e874e961734991c5f84230f5d5b8116c7
      https://github.com/lxc/lxc/commit/969b7d7e874e961734991c5f84230f5d5b8116c7
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M templates/lxc-download.in

  Log Message:
  -----------
  lxc-download: Ignore return code from subshell

The previous change fixed parsing of multiple uid/gid ranges by using a
while loop, however a failure in that loop will cause the script to exit
(due to -e), so we need to ignore the return value of the commands
inside that loop.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list