mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
fix typo in udev_utils_run.c
This commit is contained in:
committed by
Kay Sievers
parent
1fdce2f39d
commit
9b2e2d4a8a
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user