Commit 66543f28 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Actually allow node utility to run without SBBSCTRL being set

parent bd6cde7b
Pipeline #3575 passed with stage
in 6 minutes and 18 seconds
......@@ -448,7 +448,7 @@ void printnodedat(int number, node_t node)
int main(int argc, char **argv)
char str[256],ctrl_dir[41],*p,debug=0;
char str[256],ctrl_dir[41],debug=0;
int sys_nodes,node_num=0,onoff=0;
int i,j,mode=0,misc;
int modify=0;
......@@ -495,13 +495,6 @@ int main(int argc, char **argv)
if(p==NULL) {
printf("\7\nSBBSCTRL environment variable is not set.\n");
printf("This environment variable must be set to your CTRL directory.");
printf("\nExample: SET SBBSCTRL=/sbbs/ctrl\n");
SAFECOPY(ctrl_dir, get_ctrl_dir(/* warn: */TRUE));
&& ctrl_dir[strlen(ctrl_dir)-1]!='/')
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