]> git.ipfire.org Git - thirdparty/lxc.git/commit
utils: use access instead of stat 1688/head
authorLong Wang <w@laoqinren.net>
Sun, 9 Jul 2017 00:34:27 +0000 (08:34 +0800)
committerLong Wang <w@laoqinren.net>
Sun, 9 Jul 2017 00:38:13 +0000 (08:38 +0800)
commite57cd7e9bb8770bdf041bbee866faaf4333abeea
tree902075f6bc1f7f0f8ef14797b9911783aa214871
parent3f0af363e4c936955935d02a51c26ee342c75820
utils: use access instead of stat

we shoud test whether the file exists and grants
execute permissions.

Signed-off-by: Long Wang <w@laoqinren.net>
src/lxc/utils.c