[projects/pld-builder.new] request-handler.sh: exit with request_handler's status
arekm
arekm at pld-linux.org
Mon Oct 26 17:17:16 CET 2026
commit 77937957afafa445c0b35d8a623eb0ccf0e20b5f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Oct 24 13:49:29 2026 +0200
request-handler.sh: exit with request_handler's status
The final rm hid rejected requests from the caller.
bin/request-handler.sh | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/bin/request-handler.sh b/bin/request-handler.sh
index f9ac04d..6d0a808 100755
--- a/bin/request-handler.sh
+++ b/bin/request-handler.sh
@@ -14,7 +14,9 @@ if lockfile -r3 $HOME/.builder_request_handler.lock 2>/dev/null; then
trap "rm -f $HOME/.builder_request_handler.lock" 1 2 3 13 15
cd $BUILDERPATH
python3 PLD_Builder/request_handler.py
+ rc=$?
rm -f $HOME/.builder_request_handler.lock
+ exit $rc
else
exit 1
fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/ce9feb3c796ed049b6dd260a50d94d80feb1656d
More information about the pld-cvs-commit
mailing list