mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 18:41:37 +00:00
path works for directories too
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
efec39212d
commit
a60e4c92c8
@ -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