Add sudo support and line count to log viewing commands
All checks were successful
Build and Release / build-and-release (push) Successful in 1m12s

- Add sudo to journalctl command for proper systemd log access
- Add sudo to tail command for system log file access
- Add -n 50 to tail command to match journalctl behavior
- Both J and L keys now show last 50 lines before following

Ensures consistent behavior and proper permissions for all log viewing.
This commit is contained in:
2025-10-30 13:26:04 +01:00
parent 3f6dffa66e
commit 6fedf4c7fc
5 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "cm-dashboard-agent"
version = "0.1.50"
version = "0.1.51"
edition = "2021"
[dependencies]