mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-08 11:15:29 +00:00
path works for directories too
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -59,7 +59,7 @@ fi
|
|||||||
|
|
||||||
if [ $1 == "path" ]
|
if [ $1 == "path" ]
|
||||||
then
|
then
|
||||||
if [ -f ${BASE}/${KEY} ]
|
if [ -e ${BASE}/${KEY} ]
|
||||||
then
|
then
|
||||||
printf ${BASE}/${KEY}
|
printf ${BASE}/${KEY}
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user