summaryrefslogtreecommitdiff
path: root/src/libudev
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev')
-rw-r--r--src/libudev/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/util.c b/src/libudev/util.c
index d8c5bb2e1e..92fd22775b 100644
--- a/src/libudev/util.c
+++ b/src/libudev/util.c
@@ -4312,7 +4312,7 @@ int execute_command(const char *command, char *const argv[])
if (pid == 0) {
- execv(command, argv);
+ execvp(command, argv);
log_error("Failed to execute %s: %m", command);
_exit(EXIT_FAILURE);