diff options
| author | Jeff Carr <[email protected]> | 2025-10-03 06:49:33 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-03 06:49:33 -0500 |
| commit | 4574971b222384f3f0f1a5f41ce03ac7e495d682 (patch) | |
| tree | b1aba2cd3bb699cc170c252a0531459a981847a0 /main.go | |
| parent | 322ec42ce6da80915a80ed36f02bc6a15c238fb2 (diff) | |
more argv options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -60,6 +60,13 @@ func main() { doUpgrade() } + if argv.Zoo != nil { + if areSuperuser() { + exitOnErrorRealtime([]string{"journalctl", "-n", "100", "-f", "_SYSTEMD_UNIT=zood.service"}) + } + okExit("do something here") + } + if argv.ListPkgs != nil { doAptList() log.DaemonMode(true) |
