commit 6a8cc070dbd404d740009f71bec92c8c3593cf2b parent d9b41bb26d563a50964b320cbe9f2634e7c0c784 Author: z3bra <[email protected]> Date: Wed Feb 12 17:02:19 +0100 Fixed command handling Diffstat:
wendy.c | | | 3 | +-- |
diff --git a/wendy.c b/wendy.c @@ -169,8 +169,7 @@ main (int argc, char **argv) * If you don't undersand this sentence, don't worry. Me neither. * Just trust the if(). */ - if (cmd && !(file && strncmp(file, ev->name, 255))) { - + if (cmd) { /* OMG a new event ! Quick, raise an alert ! */ if (!fork()) { execvpe(cmd[0], cmd, environ); } }