X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udevsend.c;h=05a50facc51600cb5eeb04eed1e3702f279686c4;hb=87da5b2c65e0a889093c27189212505328aea4ab;hp=16174f5e466c5674079452e3dc72dddb50613550;hpb=4497fcbf7159975560b680fd8130adcd414d3d67;p=elogind.git diff --git a/udevsend.c b/udevsend.c index 16174f5e4..05a50facc 100644 --- a/udevsend.c +++ b/udevsend.c @@ -44,7 +44,6 @@ static int sock = -1; #ifdef LOG -unsigned char logname[LOGNAME_SIZE]; void log_message (int level, const char *format, ...) { va_list args; @@ -155,7 +154,7 @@ int main(int argc, char *argv[], char *envp[]) } /* prevent loops in the scripts we execute */ - if (strncmp(key, "MANAGED_EVENT=", 14) == 0) { + if (strncmp(key, "UDEVD_EVENT=", 12) == 0) { dbg("seems that the event source is not the kernel, just exit"); goto exit; }