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