summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.go b/main.go
index bb60324..f68a334 100644
--- a/main.go
+++ b/main.go
@@ -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)