summaryrefslogtreecommitdiffstats
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/build.sh6
1 files changed, 4 insertions, 2 deletions
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