Don't try to list files in a non-existent directory.

Thanks to Jamie Strandboge for spotting this during review.
This commit is contained in:
intrigeri 2018-12-27 17:54:11 +00:00
parent 10ba242b89
commit 3b997c79b4

View file

@ -257,6 +257,7 @@ profiles_names_list() {
for profile_dir in $PROFILE_DIRS; do
if [ ! -d "$profile_dir" ]; then
aa_log_warning_msg "- Profile directory not found: $profile_dir"
continue
fi
for profile in $profile_dir/*; do