Do not display time if not in daemon mode
parent
7657dd985c
commit
3f446fbaca
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue