Permalink
Browse files
drop out of fgets loop after successfully finding HOOKS=
- Loading branch information...
Showing
with
2 additions
and
0 deletions.
-
+2
−0
init.c
|
@@ -455,6 +455,8 @@ static void run_hooks(void) { /* {{{ */ |
|
|
char *argv[] = { path, path, NULL };
|
|
|
forkexecwait(argv);
|
|
|
}
|
|
|
+
|
|
|
+ break;
|
|
|
}
|
|
|
|
|
|
fclose(fp);
|
|
|
0 comments on commit
87e4fbb