From 4574971b222384f3f0f1a5f41ce03ac7e495d682 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 3 Oct 2025 06:49:33 -0500 Subject: more argv options --- doRdate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doRdate.go') diff --git a/doRdate.go b/doRdate.go index ac66119..a33b022 100644 --- a/doRdate.go +++ b/doRdate.go @@ -9,11 +9,11 @@ func doRdate() { checkSuperuser() if _, err := fhelp.CheckCmd("rdate"); err != nil { - exitOnError([]string{"apt", "install", "rdate"}) + aptInstall("rdate") } if _, err := fhelp.CheckCmd("hwclock"); err != nil { - exitOnError([]string{"apt", "install", "util-linux-extra"}) + aptInstall("util-linux-extra") } exitOnError([]string{"rdate", "rdate.grid.wit.com"}) -- cgit v1.2.3