Commit e54263fd authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

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

parent 3823fea1
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment