mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 00:41:03 +01:00
15 lines
202 B
Text
15 lines
202 B
Text
#=DESCRIPTION conditional else in invalid locations
|
|
#=EXRESULT FAIL
|
|
|
|
$BAR = false
|
|
$FOO=true
|
|
$FALSE = false
|
|
|
|
/bin/true {
|
|
if $FOO {
|
|
/bin/true rix,
|
|
}
|
|
|
|
} else if $FALSE {
|
|
/dev/null w,
|
|
}
|