Skip to content

Commit

Permalink
udev: add missing flag for OPTIONS=static_node
Browse files Browse the repository at this point in the history
Fixes RHBZ#1740664.
  • Loading branch information
yuwata committed Sep 8, 2019
1 parent 77b1af5 commit 5abba26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/udev/udev-rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5abba26

Please sign in to comment.