aboutsummaryrefslogtreecommitdiff
path: root/msci
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-05-15 04:23:11 +0300
committertoufic ar <contact@toufy.me>2026-05-15 04:23:11 +0300
commit4a17d522ced7e9b775570afd6ccbbbe225f957c3 (patch)
tree7ded91eb8b422fa0f2ca5157e6c05c906ab80237 /msci
parent34f5f063daee0779d21c8306e3897e52654a31aa (diff)
downloadmakeshiftci-0.3.0.tar.gz
makeshiftci-0.3.0.zip
fix exit statusv0.3.0flake-webui
Diffstat (limited to 'msci')
-rwxr-xr-xmsci4
1 files changed, 2 insertions, 2 deletions
diff --git a/msci b/msci
index c1e6132..8526f87 100755
--- a/msci
+++ b/msci
@@ -92,11 +92,11 @@ run_project() {
"$pimage" \
sh -c "$prun" | tee -a "$2" && echo "docker failed" | tee -a "$2" && exit 1
done
- (popd &>/dev/null && rm -rf "$repo_path") ||
+ popd &>/dev/null
+ ! rm -rf "$repo_path" &&
echo "failed to delete tmp repo" | tee -a "$2" && exit 1
echo "finished" | tee -a "$2"
)
-
}
create_project() {