mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 23:51:28 +03:00
fix previous commit
This commit is contained in:
parent
e9906fec71
commit
5d69a34caf
@ -356,6 +356,8 @@ static void dump_token(struct udev_rules *rules, struct token *token)
|
|||||||
break;
|
break;
|
||||||
case TK_A_STRING_ESCAPE_NONE:
|
case TK_A_STRING_ESCAPE_NONE:
|
||||||
case TK_A_STRING_ESCAPE_REPLACE:
|
case TK_A_STRING_ESCAPE_REPLACE:
|
||||||
|
dbg(rules->udev, "%s\n", token_str(type));
|
||||||
|
break;
|
||||||
case TK_M_TEST:
|
case TK_M_TEST:
|
||||||
dbg(rules->udev, "%s %s '%s'(%s) %#o\n",
|
dbg(rules->udev, "%s %s '%s'(%s) %#o\n",
|
||||||
token_str(type), operation_str(op), value, string_glob_str(glob), token->key.mode);
|
token_str(type), operation_str(op), value, string_glob_str(glob), token->key.mode);
|
||||||
@ -1023,6 +1025,7 @@ static int rule_add_key(struct rule_tmp *rule_tmp, enum token_type type,
|
|||||||
break;
|
break;
|
||||||
case TK_A_STRING_ESCAPE_NONE:
|
case TK_A_STRING_ESCAPE_NONE:
|
||||||
case TK_A_STRING_ESCAPE_REPLACE:
|
case TK_A_STRING_ESCAPE_REPLACE:
|
||||||
|
break;
|
||||||
case TK_A_RUN:
|
case TK_A_RUN:
|
||||||
token->key.value_off = add_string(rule_tmp->rules, value);
|
token->key.value_off = add_string(rule_tmp->rules, value);
|
||||||
token->key.fail_on_error = *(int *)data;
|
token->key.fail_on_error = *(int *)data;
|
||||||
|
Loading…
Reference in New Issue
Block a user