container: fix .dockerenv stat check
authorPetr Štetiar <ynezz@true.cz>
Thu, 30 May 2019 05:53:26 +0000 (07:53 +0200)
committerPetr Štetiar <ynezz@true.cz>
Thu, 30 May 2019 05:53:26 +0000 (07:53 +0200)
commitade00ca585a49c8478bf60eb24ce385676be37a4
tree50f9886adf19e7bbd0f48ca46d646c375a1e3e16
parent385b904b2f0a50030aaa33417a03f45babf4bd3d
container: fix .dockerenv stat check

applied check wasn't evaluating the existence of the file properly.

Fixes: 7f0f6b2a73f8 ("procd: add docker support")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
container.h