diff options
-rwxr-xr-x | hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup | 2 | ||||
-rwxr-xr-x | hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup b/hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup index 40c8c432..36a19bc9 100755 --- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup +++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup @@ -7,7 +7,7 @@ set -e # cease using disorderfs if [ -d /tmp/disorderfs ] ; then - su pbuilder2 -c 'fusermount -u /tmp/buildd' + fusermount -u /tmp/buildd rmdir /tmp/buildd mv /tmp/disorderfs /tmp/buildd fi diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup index 40c8c432..36a19bc9 100755 --- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup +++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup @@ -7,7 +7,7 @@ set -e # cease using disorderfs if [ -d /tmp/disorderfs ] ; then - su pbuilder2 -c 'fusermount -u /tmp/buildd' + fusermount -u /tmp/buildd rmdir /tmp/buildd mv /tmp/disorderfs /tmp/buildd fi |