mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
Fix a tyop and add corresponding profile names for other error
conditions.
This commit is contained in:
parent
e291f9933e
commit
16ede09541
1 changed files with 3 additions and 3 deletions
|
@ -433,7 +433,7 @@ loadprofile()
|
|||
if [ $? -ne 0 ]
|
||||
then
|
||||
removeprofile
|
||||
fatalerror "Unable to load profile"
|
||||
fatalerror "Unable to load profile $profile"
|
||||
else
|
||||
profileloaded=1
|
||||
fi
|
||||
|
@ -446,7 +446,7 @@ replaceprofile()
|
|||
$subdomain ${parser_args} -r $complainflag < $profile > /dev/null
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
fatalerror "Unable to replace profile"
|
||||
fatalerror "Unable to replace profile $profile"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -465,7 +465,7 @@ removeprofile()
|
|||
$subdomain ${parser_args} -R < $remprofile > /dev/null
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
fatalerror "Unable to remove profile $remoprofile"
|
||||
fatalerror "Unable to remove profile $remprofile"
|
||||
else
|
||||
profileloaded=0
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue