Skip to content

Commit

Permalink
serve: missing "
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnl committed Aug 7, 2018
1 parent 686e731 commit e28823d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serve.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ static int dcc_check_compiler_whitelist(char *_compiler_name)
char *compiler_path = NULL;
if (asprintf(&compiler_path, "/usr/lib/distcc/%s", compiler_name) && compiler_path) {
if (access(compiler_path, X_OK) < 0) {
rs_log_crit("%s not in %s or %s whitelist.", compiler_name, LIBDIR "/distcc", "/usr/lib/distcc);
rs_log_crit("%s not in %s or %s whitelist.", compiler_name, LIBDIR "/distcc", "/usr/lib/distcc");
return EXIT_BAD_ARGUMENTS; /* ENOENT, EACCESS, etc */
}
free(compiler_path);
Expand Down

0 comments on commit e28823d

Please sign in to comment.