mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user