Permalink
Browse files

drop out of fgets loop after successfully finding HOOKS=

  • Loading branch information...
1 parent 8be2cf2 commit 87e4fbbfbf4541382835c6e4517586e1ed8deed7 @falconindy committed Apr 20, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 init.c
View
2 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

Please sign in to comment.