Skip to content

Commit 3af4d86

Browse files
committed
Reduced noise in clean-buildmachine
Uninstalling all the cfbuild packages creates a lot of noise from the package managers. Instead, let's print output on failure. Ticket: ENT-12619 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent 66ec754 commit 3af4d86

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build-scripts/clean-buildmachine

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
. "$(dirname "$0")"/functions
1010
. detect-environment
1111

12-
uninstall_cfbuild
12+
log_debug "Removing all cfbuild packages..."
13+
run_and_print_on_failure uninstall_cfbuild
1314

1415
if [ -z "$PREFIX" ] || [ "$PREFIX" = "/" ]; then
1516
fatal "\$PREFIX is not defined, is empty, or is set to the root directory. Aborting to prevent accidental deletion."

0 commit comments

Comments
 (0)