Skip to content
Snippets Groups Projects
Commit 2d967064 authored by rswindell's avatar rswindell
Browse files

Fix last commit.

parent 3e54cf49
Branches
Tags
No related merge requests found
......@@ -399,7 +399,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir)
sbbsexec_start_t start;
OPENVXDHANDLE OpenVxDHandle;
if(cfg.node_num==0)
if(online!=ON_REMOTE || cfg.node_num==0)
eprintf(LOG_DEBUG,"Executing external: %s",cmdline);
else
lprintf(LOG_DEBUG,"Node %d Executing external: %s",cfg.node_num,cmdline);
......@@ -1313,7 +1313,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir)
int high_fd;
struct timeval timeout;
if(cfg.node_num==0)
if(online!=ON_REMOTE || cfg.node_num==0)
eprintf(LOG_DEBUG,"Executing external: %s",cmdline);
if(startup_dir!=NULL && startup_dir[0] && !isdir(startup_dir)) {
......@@ -1786,7 +1786,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir)
_exit(-1); /* should never get here */
}
if(cfg.node_num)
if(online==ON_REMOTE)
lprintf(LOG_INFO,"Node %d executing external: %s",cfg.node_num,fullcmdline);
/* Disable Ctrl-C checking */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment