aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss3
1 files changed, 2 insertions, 1 deletions
diff --git a/kiss b/kiss
index 6aa0ce5..f829f2f 100755
--- a/kiss
+++ b/kiss
@@ -1147,7 +1147,8 @@ pkg_updates() {
# Show a diff of each new change to the repositories.
# This spawns the user's set PAGER with a fallback to less.
- [ "$KISS_AUDIT" ] && "${PAGER:-less}" "$mak_dir/log"
+ [ -s "$mak_dir/log" ] && [ "$KISS_AUDIT" = 1 ] &&
+ "${PAGER:-less}" "$mak_dir/log"
# Tell 'pkg_build' to always prompt before build.
pkg_update=1