Skip to content

Commit

Permalink
Merge pull request #1337 from stgraber/master
Browse files Browse the repository at this point in the history
tests; Don't cause test failures on cleanup errors
  • Loading branch information
Christian Brauner committed Dec 3, 2016
2 parents f8df61b + 9c50a52 commit de1d1db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/lxc-test-usernic.in
Expand Up @@ -28,9 +28,9 @@ KNOWN_RELEASES="precise trusty xenial yakkety zesty"
LXC_USER_NIC="@LIBEXECDIR@/lxc/lxc-user-nic"

cleanup() {
(
set +e
set +e

(
lxc-stop -n usernic-c1 -k
lxc-destroy -n usernic-c1

Expand Down

0 comments on commit de1d1db

Please sign in to comment.