2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 21:29:27 +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:
Serge Hallyn
2012-07-31 16:01:28 +02:00
committed by Daniel Lezcano
parent 83366944b4
commit 1d61e5b908

View File

@@ -24,6 +24,8 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
set -e
if [ -r /etc/default/lxc ]; then
. /etc/default/lxc
fi