Changeset d7c2508 in mod_gnutls


Ignore:
Timestamp:
Feb 2, 2016, 1:31:12 AM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
1bb6b1c
Parents:
dc55c77
Message:

configure: Run "ip addr show" only if network could be started

Unconditionally running it might mask a failure while bringing up the
loopback device, and in turn of the whole namespace test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rdc55c77 rd7c2508  
    8686        AC_MSG_CHECKING([whether ${UNSHARE} allows network and user namespaces])
    8787        AS_IF([${UNSHARE} --net -r /bin/sh -c \
    88                 "ip link set up lo; ip addr show" >&AS_MESSAGE_LOG_FD 2>&1],
     88                "ip link set up lo && ip addr show" >&AS_MESSAGE_LOG_FD 2>&1],
    8989              [unshare_works="yes"], [unshare_works="no"])
    9090        AC_MSG_RESULT([$unshare_works])
Note: See TracChangeset for help on using the changeset viewer.