mirror of
git://github.com/lxc/lxc
synced 2025-09-01 07:02:39 +00:00
ubuntu template: set -e to return error on failures.
Otherwise callers can get bad containers without knowing it. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/922645 Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
committed by
Daniel Lezcano
parent
83366944b4
commit
1d61e5b908
@@ -24,6 +24,8 @@
|
|||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ -r /etc/default/lxc ]; then
|
if [ -r /etc/default/lxc ]; then
|
||||||
. /etc/default/lxc
|
. /etc/default/lxc
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user