Merge pull request #49 from SatoshiPortal/hotfix/infinite_loop_at_sanity_check

Hotfix/infinite loop at sanity check
This commit is contained in:
kexkey
2019-01-20 16:59:25 -05:00
committed by GitHub

4
dist/setup.sh vendored
View File

@@ -528,6 +528,10 @@ check_directory_owner() {
local status=0
for d in "${directories[@]}"
do
if [[ ''$d == '' ]]; then
continue
fi
d=$(realpath $d)
if [[ -e $d ]]; then
# is it mine and does it have rw ?
# don't care about group rights