Do not display time if not in daemon mode

stable
Justin Reichardt 2022-06-12 20:45:11 -05:00
parent 7657dd985c
commit 3f446fbaca
1 changed files with 4 additions and 3 deletions

View File

@ -86,9 +86,10 @@ func main() {
return return
} }
if daemon {
log.Print("daemon:" , daemon) log.Print("daemon:" , daemon)
log.Print("interval:",interval) log.Print("interval:",interval)
}
sysdetect (&tmpdir, &hostsloc, &cfgloc) sysdetect (&tmpdir, &hostsloc, &cfgloc)