Fix sepolicy attribute rule parsing

Fix #6166
This commit is contained in:
canyie 2022-08-05 21:02:06 +08:00 committed by John Wu
parent d449f49d73
commit 1d0b873950

View File

@ -227,7 +227,7 @@ static bool parse_pattern_6(const Func &fn, const char *action, char *stmt) {
parsed_tokens arr;
if (!tokenize_and_check<1, 0>(stmt, arr))
return false;
run_fn(arr[0][1]);
run_fn(arr[0][0]);
return true;
}