[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible arch: remove useless sudo usage

Holger Levsen holger at moszumanska.debian.org
Fri Oct 16 16:43:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit e896d89bf6cc5ee57bac65fa8731b4006339592a
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Oct 16 18:42:10 2015 +0200

    reproducible arch: remove useless sudo usage
---
 bin/reproducible_arch_schroot_setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_arch_schroot_setup.sh b/bin/reproducible_arch_schroot_setup.sh
index 5ebde24..0604395 100755
--- a/bin/reproducible_arch_schroot_setup.sh
+++ b/bin/reproducible_arch_schroot_setup.sh
@@ -41,7 +41,7 @@ bootstrap() {
 
 cleanup() {
 	if [ -d $SCHROOT_TARGET ]; then
-		sudo rm -rf --one-file-system $SCHROOT_TARGET || ( echo "Warning: $SCHROOT_TARGET could not be fully removed on forced cleanup." ; ls $SCHROOT_TARGET -la )
+		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
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list