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

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


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: fda03e44e6dbe7bd13f68e0751b08e0fe5584106
      https://github.com/lxc/lxc/commit/fda03e44e6dbe7bd13f68e0751b08e0fe5584106
  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