mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-31 07:51:08 +03:00
fix typo in udev_utils_run.c
This commit is contained in:
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user