Commit 6426954c authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Don't attempt to remove a non-existing qwk-pack semfile

Reduce occurrences of subsequent errors (unsure of root-cause):
!ERROR 2 (No such file or directory) in main.cpp line 2778 (event_thread) removing "/sbbs/data/"

This does seem to be the only location that deleted pack*.now files, so weird that they'd disappear sometime after calling glob(), but I do understand that its theoretically possible.
parent a5ed96ee
......@@ -2774,7 +2774,7 @@ void event_thread(void* arg)
if(fexist(g.gl_pathv[i]) && remove(g.gl_pathv[i]) != 0)
sbbs->errormsg(WHERE, ERR_REMOVE, g.gl_pathv[i], 0);
sbbs->errormsg(WHERE, ERR_REMOVE, semfile, 0);
Supports Markdown
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