Skip to content
Snippets Groups Projects
Commit e54263fd authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Log command-line that led to logged error opening DOSXTRN.RET

parent 3823fea1
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -842,7 +842,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir)
SAFEPRINTF(path, "%sDOSXTRN.RET", cfg.node_dir);
FILE* fp=fopen(path,"r");
if(fp == NULL) {
lprintf(LOG_ERR, "Error %d opening %s", errno, path);
lprintf(LOG_ERR, "Error %d opening %s after running %s", errno, path, cmdline);
} else {
if(fscanf(fp,"%d",&retval) != 1) {
lprintf(LOG_ERR, "Error reading return value from %s", path);
......
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