From: Tobias Klauser Date: Sat, 9 Jun 2007 17:18:46 +0000 (+0200) Subject: fix typo in udev_utils_run.c X-Git-Tag: 174~1909 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b2e2d4a8a4007dc34e6979c985ee2ff24e5a9ca;p=systemd fix typo in udev_utils_run.c --- diff --git a/udev_utils_run.c b/udev_utils_run.c index 8137ec1c..1a92cddd 100644 --- a/udev_utils_run.c +++ b/udev_utils_run.c @@ -158,7 +158,7 @@ int run_program(const char *command, const char *subsystem, close(errpipe[WRITE_END]); } execv(argv[0], argv); - if ((errno == ENOENT) || (errno = ENOTDIR)) { + if (errno == ENOENT || errno == ENOTDIR) { /* may be on a filesytem which is not mounted right now */ info("program '%s' not found", argv[0]); } else {