mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 03:45:07 -05:00
conf: improve log message for failed additions in sources reload
Describe the error status in the log message when adding a source from sourcedir failed.
This commit is contained in:
@@ -88,6 +88,8 @@ update_random_address(NTP_Remote_Address *addr, int rand_bits)
|
||||
TEST_CHECK(status == NSR_Success || status == NSR_AlreadyInUse);
|
||||
}
|
||||
|
||||
TEST_CHECK(strlen(NSR_StatusToString(status)) > 0);
|
||||
|
||||
return status == NSR_Success;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user