summaryrefslogtreecommitdiffstats
path: root/src/udev
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-11 22:34:25 +0200
committerKay Sievers <kay@vrfy.org>2012-04-11 22:34:25 +0200
commit4590cfe4551c6be80274583019be7a79dca70b43 (patch)
treee01d0d47c04226840a70d02ca9cf98dcb96e2504 /src/udev
parentudev: fix keymap mkdir (diff)
downloadsystemd-4590cfe4551c6be80274583019be7a79dca70b43.tar.xz
systemd-4590cfe4551c6be80274583019be7a79dca70b43.zip
udev: fix RUN+= logic regarding builtin vs. program
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index c371298a69..4e85760bd4 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -1052,8 +1052,8 @@ static int rule_add_key(struct rule_tmp *rule_tmp, enum token_type type,
case TK_A_DB_PERSIST:
break;
case TK_A_RUN_BUILTIN:
- token->key.builtin_cmd = *(enum udev_builtin_cmd *)data;
case TK_A_RUN_PROGRAM:
+ token->key.builtin_cmd = *(enum udev_builtin_cmd *)data;
token->key.value_off = add_string(rule_tmp->rules, value);
break;
case TK_A_INOTIFY_WATCH: