Skip to content

Commit

Permalink
[backend] improve logging when removing buildroot
Browse files Browse the repository at this point in the history
newline after finished removing
  • Loading branch information
adrianschroeter committed Aug 3, 2020
1 parent d9ea5de commit e3471b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/backend/bs_worker
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,12 @@ sub cleanup_job {

# if this is a chroot like case, get rid of it after the build
if ((!$vm || $vm eq 'lxc' || $vm eq 'docker' || $vm eq 'nspwan') && $cleanup_chroot && -d $buildroot) {
printf "Removing buildroot $buildroot";
print "Removing buildroot $buildroot...";
eval {
rm_rf($buildroot);
mkdir_p($buildroot);
}
};
print "\n";
}

}
Expand Down

0 comments on commit e3471b7

Please sign in to comment.