chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1fdce2f
)
fix typo in udev_utils_run.c
author
Tobias Klauser
<tklauser@distanz.ch>
Sat, 9 Jun 2007 17:18:46 +0000
(19:18 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Sat, 9 Jun 2007 17:18:46 +0000
(19:18 +0200)
udev_utils_run.c
patch
|
blob
|
history
diff --git
a/udev_utils_run.c
b/udev_utils_run.c
index 8137ec1c66168530f615069ecd97c4560ad2ffb6..1a92cddd8a28aed1d795f953474a2201f9d157e6 100644
(file)
--- 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 {