We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fb081f8 + e7023cd commit 49d9002Copy full SHA for 49d9002
1 file changed
builder/image/templates/gitreceive
@@ -44,7 +44,7 @@ EOF
44
do
45
LOCKFILE="/tmp/$RECEIVE_REPO.lock"
46
if ( set -o noclobber; echo "$$" > "$LOCKFILE" ) 2> /dev/null; then
47
- trap 'rm -f "$LOCKFILE"; exit $?' INT TERM EXIT
+ trap 'rm -f "$LOCKFILE"; exit 1' INT TERM EXIT
48
49
# check for authorization on this repo
50
$GITHOME/receiver "$RECEIVE_REPO" "$newrev" "$RECEIVE_USER" "$RECEIVE_FINGERPRINT"
0 commit comments