Update system uptime warning format.

pull/678/head
cyoung 2017-10-27 16:05:15 -04:00
rodzic cc4127df80
commit bb9cb778d2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -484,7 +484,7 @@ func sdrWatcher() {
} else if globalSettings.DeveloperMode {
// Throw a "critical error" if developer mode is enabled. Alerts the developer that the daemon was restarted (possibly)
// unexpectedly.
daemonRestartedErr := fmt.Errorf("System uptime %d seconds. Daemon restarted.\n")
daemonRestartedErr := fmt.Errorf("System uptime %d seconds. Daemon was restarted.\n", info.Uptime)
addSystemError(daemonRestartedErr)
}
}