summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/bcm203x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/bcm203x.c b/extra/bcm203x.c
index b1e89179..f4c48364 100644
--- a/extra/bcm203x.c
+++ b/extra/bcm203x.c
@@ -161,7 +161,7 @@ int main(int argc, char *argv[])
action = getenv("ACTION");
device = getenv("DEVICE");
- if (!action || strcmp(action, "add"))
+ if (!action || (strcmp(action, "add") && strcmp(action, "register")))
exit(0);
openlog("bcm203x", LOG_NDELAY | LOG_PID, LOG_DAEMON);