Skip to content
Snippets Groups Projects
Commit 9a6561ef authored by rswindell's avatar rswindell
Browse files

Needs EX_SH for wildcard expansion.

parent 63498207
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ bool sbbs_t::pack_qwk(char *packet, ulong *msgcnt, bool prepack) ...@@ -67,7 +67,7 @@ bool sbbs_t::pack_qwk(char *packet, ulong *msgcnt, bool prepack)
smbmsg_t msg; smbmsg_t msg;
ex=EX_OUTL|EX_OUTR; ex=EX_SH|EX_OUTL|EX_OUTR; /* Need sh for wildcard expansion */
if(prepack) if(prepack)
ex|=EX_OFFLINE; ex|=EX_OFFLINE;
......
...@@ -224,7 +224,8 @@ bool sbbs_t::pack_rep(uint hubnum) ...@@ -224,7 +224,8 @@ bool sbbs_t::pack_rep(uint hubnum)
/*******************/ /*******************/
sprintf(str,"%s%s.rep",cfg.data_dir,cfg.qhub[hubnum]->id); sprintf(str,"%s%s.rep",cfg.data_dir,cfg.qhub[hubnum]->id);
sprintf(tmp2,"%s%s",cfg.temp_dir,ALLFILES); sprintf(tmp2,"%s%s",cfg.temp_dir,ALLFILES);
i=external(cmdstr(cfg.qhub[hubnum]->pack,str,tmp2,NULL),EX_OFFLINE); i=external(cmdstr(cfg.qhub[hubnum]->pack,str,tmp2,NULL)
,EX_OFFLINE|EX_SH); /* Needs sh for wildcard expansion */
if(!fexist(str)) { if(!fexist(str)) {
eprintf("%s",remove_ctrl_a(text[QWKCompressionFailed],tmp)); eprintf("%s",remove_ctrl_a(text[QWKCompressionFailed],tmp));
if(i) if(i)
......
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