mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 04:35:06 -05:00
Don't start chronyd with unrecognized command line options
This commit is contained in:
2
main.c
2
main.c
@@ -255,7 +255,7 @@ int main
|
|||||||
} else if (!strcmp("-6", *argv)) {
|
} else if (!strcmp("-6", *argv)) {
|
||||||
DNS_SetAddressFamily(IPADDR_INET6);
|
DNS_SetAddressFamily(IPADDR_INET6);
|
||||||
} else {
|
} else {
|
||||||
LOG(LOGS_WARN, LOGF_Main, "Unrecognized command line option [%s]", *argv);
|
LOG_FATAL(LOGF_Main, "Unrecognized command line option [%s]", *argv);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user