fix typo in udev_utils_run.c
This commit is contained in:
committed by
Kay Sievers
parent
1fdce2f39d
commit
9b2e2d4a8a
+1
-1
@@ -158,7 +158,7 @@ int run_program(const char *command, const char *subsystem,
|
|||||||
close(errpipe[WRITE_END]);
|
close(errpipe[WRITE_END]);
|
||||||
}
|
}
|
||||||
execv(argv[0], argv);
|
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 */
|
/* may be on a filesytem which is not mounted right now */
|
||||||
info("program '%s' not found", argv[0]);
|
info("program '%s' not found", argv[0]);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user