nspawn: check env var first, detect second
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 2 Oct 2016 18:07:22 +0000 (20:07 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 8 Oct 2016 18:48:41 +0000 (14:48 -0400)
commit98afd6af3a2022bd03543a6dea79120f689967b0
tree9d0c7db27b16ebed467fcda7272239d8af6b40ca
parent5a46d55fc8f3dc4a86f3994f96369d169c0b96bb
nspawn: check env var first, detect second

If we are going to use the env var to override the detection result
anyway, there is not point in doing the detection, especially that
it can fail.
src/nspawn/nspawn.c