From 399a3e2a4710fb8ad8e19024e1fc867c6054384f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Jan 2021 03:50:24 -0500 Subject: cmd/build: Fix AND-OR list logic --- diff --git a/src/cmd/build.sh b/src/cmd/build.sh index 0b2c519..399a349 100644 --- a/src/cmd/build.sh +++ b/src/cmd/build.sh @@ -154,8 +154,10 @@ _cmd_build_build() fi fi - ${log} && _cmd_build_header '-' 'Installed Packages' - ${log} && session_exec opkg list-installed || es=${?} + if ${log}; then + _cmd_build_header '-' 'Installed Packages' + session_exec opkg list-installed || es=${?} + fi ${log} && _cmd_build_header '-' 'Build' if [ ${es} -eq 0 ]; then -- cgit v0.9.1