aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index d49b986..e4f6dac 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Options:
Environment:
- `INITRD` initrd to inspect (default `/boot/initrd-generic.img`)
-- `LOG` append the whole run, slackpkg output included, to this file
+- `LOG` append the non-interactive run, slackpkg output included, to this file
(default `/var/log/dist-upgrade.log`; set it empty to disable)
A logrotate rule for that log ships in `logrotate.d/dist-upgrade`; install it
@@ -41,8 +41,10 @@ to `/etc/logrotate.d/`.
4. Lists any leftover `.new` config files.
5. Reports whether a reboot is recommended.
-The full run is appended to `LOG`, with a timestamped header per run, so an
-unattended upgrade can be reviewed afterwards.
+A non-interactive run is appended to `LOG`, with a timestamped header per run,
+so an unattended upgrade can be reviewed afterwards. Interactive runs are not
+logged: slackpkg's TUI needs the terminal, and redirecting it through the log
+breaks the curses interface.
If slackpkg upgrades itself mid-run (exit status 50) the script re-executes
once from the top to finish the operation, exactly as slackpkg's own message