Exit with no error if directory absent
Explorers need to handle the case of no directory.
This commit is contained in:
parent
3ff7621984
commit
b772e09d53
2 changed files with 2 additions and 2 deletions
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
destination="/$__object_id/.git"
|
destination="/$__object_id/.git"
|
||||||
|
|
||||||
stat --print "%G" ${destination} 2>/dev/null
|
stat --print "%G" ${destination} 2>/dev/null || exit 0
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
destination="/$__object_id/.git"
|
destination="/$__object_id/.git"
|
||||||
|
|
||||||
stat --print "%U" ${destination} 2>/dev/null
|
stat --print "%U" ${destination} 2>/dev/null || exit 0
|
||||||
|
|
Loading…
Reference in a new issue