mirror of
https://github.com/troglobit/finit.git
synced 2026-10-08 08:24:43 +07:00
Fix run-parts regression introduced in 9a98bff2
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -468,7 +468,7 @@ int run_parts(char *dir, char *cmd)
|
||||
char *name = e[i]->d_name;
|
||||
pid_t pid = 0;
|
||||
|
||||
snprintf(path, sizeof(path), "%s/%s ", dir, name);
|
||||
snprintf(path, sizeof(path), "%s/%s", dir, name);
|
||||
if (stat(path, &st)) {
|
||||
_d("Failed stat(%s): %s", path, strerror(errno));
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user