Commit 335a149f authored by Martin Peres's avatar Martin Peres
Browse files

initscript/ntp: show the status FAIL when failing to set the clock

Fixes: 30e083d8
parent 8d1cd08d
......@@ -126,7 +126,7 @@ function ntp_set {
status="DONE"
time timeout 5 ntpd -dnq -p "$peer_addr" || status="FAILED"
log "Getting the time from the NTP server $peer_addr: DONE"
log "Getting the time from the NTP server $peer_addr: $status"
}
function find_container_partition {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment