Skip to content

Commit d9f7b9e

Browse files
committed
no -r option to rm when it's not necessary
1 parent 3895b35 commit d9f7b9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mcoq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def check_args():
113113
try:
114114
args = parser.parse_args()
115115
except:
116-
if not "-h" in sys.argv and not "--help" in sys.argv:
116+
if not "-h" in sys.argv and not "--help" in sys.argv:
117117
print("ERROR: Missing required arguments. Please ensure you have passed correct arguments. List of required args shown above.")
118118
return False
119119

@@ -225,7 +225,7 @@ def main():
225225

226226
if not args.skipmutations:
227227
if os.path.exists(OLD_REPORT_DIR+"/mcoq_log.txt"):
228-
os.system("rm -rf "+OLD_REPORT_DIR+"/mcoq_log.txt")
228+
os.system("rm -f "+OLD_REPORT_DIR+"/mcoq_log.txt")
229229
try:
230230
if not args.skipmutations:
231231
setup_repo()

0 commit comments

Comments
 (0)