mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
udev: add missing flag for OPTIONS=static_node
Fixes RHBZ#1740664.
This commit is contained in:
parent
77b1af585a
commit
5abba26e2f
@ -499,6 +499,9 @@ static int rule_line_add_token(UdevRuleLine *rule_line, UdevRuleTokenType type,
|
||||
TK_A_OWNER_ID, TK_A_GROUP_ID, TK_A_MODE_ID))
|
||||
SET_FLAG(rule_line->type, LINE_HAS_DEVLINK, true);
|
||||
|
||||
else if (token->type == TK_A_OPTIONS_STATIC_NODE)
|
||||
SET_FLAG(rule_line->type, LINE_HAS_STATIC_NODE, true);
|
||||
|
||||
else if (token->type >= _TK_A_MIN ||
|
||||
IN_SET(token->type, TK_M_PROGRAM,
|
||||
TK_M_IMPORT_FILE, TK_M_IMPORT_PROGRAM, TK_M_IMPORT_BUILTIN,
|
||||
|
Loading…
x
Reference in New Issue
Block a user