mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
configure: make default hwclockfile configurable
This commit is contained in:
@@ -382,7 +382,7 @@ read_hwclock_file(const char *hwclock_file)
|
||||
char line[256];
|
||||
int i;
|
||||
|
||||
if (!hwclock_file)
|
||||
if (!hwclock_file || !hwclock_file[0])
|
||||
return;
|
||||
|
||||
in = fopen(hwclock_file, "r");
|
||||
|
||||
Reference in New Issue
Block a user