mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
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:
parent
10ba242b89
commit
3b997c79b4
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue