[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: cleanup() is only called on errors, thus exit 1

Holger Levsen gitlab at salsa.debian.org
Sat Jan 12 20:25:09 GMT 2019


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
6d3499ae by Holger Levsen at 2019-01-12T20:25:01Z
reproducible Arch Linux: cleanup() is only called on errors, thus exit 1

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_setup_archlinux_schroot.sh


Changes:

=====================================
bin/reproducible_setup_archlinux_schroot.sh
=====================================
@@ -72,7 +72,7 @@ cleanup() {
 		rm -rf --one-file-system $SCHROOT_TARGET || ( echo "Warning: $SCHROOT_TARGET could not be fully removed on forced cleanup." ; ls $SCHROOT_TARGET -la )
 	fi
 	rm -f $TMPLOG
-	exit 0
+	exit 1
 }
 
 #SCHROOT_TARGET=$(mktemp -d -p $SCHROOT_BASE/ archlinuxrb-setup-$TARGET-XXXX)



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/6d3499ae6c7f5a6824ebae7541a324b6b9a85af9

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/6d3499ae6c7f5a6824ebae7541a324b6b9a85af9
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190112/76c6333d/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list