Skip to content

Commit

Permalink
main: fix the message of owner errors of cache directories
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jun 27, 2022
1 parent 49e75ee commit 02aeb4a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ble.pp
Expand Up @@ -410,7 +410,10 @@ function ble/base/.create-user-directory {
return 1
fi
elif ! [[ -r $dir && -w $dir && -x $dir ]]; then
echo "ble.sh: permision of '$tmpdir' is not correct." >&2
ble/util/print "ble.sh: permission of '$dir' is not correct." >&2
return 1
elif [[ ! -O $dir ]]; then
ble/util/print "ble.sh: owner of '$dir' is not correct." >&2
return 1
fi
eval "$var=\$dir"
Expand Down

0 comments on commit 02aeb4a

Please sign in to comment.