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