Skip to content
Snippets Groups Projects
Commit 344b83a1 authored by rswindell's avatar rswindell
Browse files

No longer send status messages (loading config, etc) to stderr.

parent 17ebadcf
No related branches found
No related tags found
No related merge requests found
......@@ -531,7 +531,7 @@ int main(int argc, char **argv, char** environ)
if(chdir(scfg.ctrl_dir)!=0)
fprintf(errfp,"!ERROR changing directory to: %s", scfg.ctrl_dir);
printf("\nLoading configuration files from %s\n",scfg.ctrl_dir);
fprintf(errfp,"\nLoading configuration files from %s\n",scfg.ctrl_dir);
if(!load_cfg(&scfg,NULL,TRUE,error)) {
fprintf(errfp,"!ERROR loading configuration files: %s\n",error);
bail(1);
......@@ -545,7 +545,7 @@ int main(int argc, char **argv, char** environ)
fprintf(errfp,"!JavaScript initialization failure\n");
bail(1);
}
printf("\n");
fprintf(errfp,"\n");
bail(js_exec(module,&argv[argn]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment