X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=makefastqcommand.cpp;h=8e1a7f52882fe1cf8e3b12a60538915306dacb46;hb=8dd3c225255d7084e3aff8740aa4f1f1cabb367a;hp=82f730159c000888e544308ddfb58289a3363fc2;hpb=7bf9a81bba76538ecaf351ae208de3da4bf1b6dd;p=mothur.git diff --git a/makefastqcommand.cpp b/makefastqcommand.cpp index 82f7301..8e1a7f5 100644 --- a/makefastqcommand.cpp +++ b/makefastqcommand.cpp @@ -181,7 +181,7 @@ int MakeFastQCommand::execute(){ qFile.close(); out.close(); - if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) { remove(outputNames[i].c_str()); } return 0; } + if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) { m->mothurRemove(outputNames[i]); } return 0; } m->mothurOutEndLine(); m->mothurOut("Output File Names: "); m->mothurOutEndLine();