diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-09 18:05:00 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-09 18:05:00 +0200 |
commit | 59fe3f5548401e263528ca83c1751ed2419ed7de (patch) | |
tree | af29404f01f839fb3202b088472e4439d3ca9c93 /bin | |
parent | 40289ff16dd32ca624a31851faf0fbc60b94c405 (diff) | |
download | jenkins.debian.net-59fe3f5548401e263528ca83c1751ed2419ed7de.tar.xz |
reproducible: fixup sudo usage
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index cdcaacdb..3424a195 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -52,7 +52,7 @@ if [ ! -z "$OLDSTUFF" ] ; then fi # remove old and unused schroot sessions -ps fax|grep -v grep |grep schroot || for i in $(sudo schroot --all-sessions -l ) ; do ps fax|grep -v grep |grep schroot || sudo schroot -c $i -e ; done +ps fax|grep -v grep |grep schroot || for i in $(sudo schroot --all-sessions -l ) ; do ps fax|grep -v grep |grep schroot || sudo schroot -e -c $i ; done # to explain this: # first, check if no process using "schroot" is running... # then loop through all schroot sessions |