aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 57f3b9376f..30441f51f8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -198,6 +198,8 @@ int main(int argc, char **argv) {
fprintf(stderr, " %s", args.at(i));
}
fprintf(stderr, "\n");
+ } else {
+ os_delete_file(buf_create_from_str("./build"));
}
return (term.how == TerminationIdClean) ? term.code : -1;
}