mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 18:05:07 -05:00
configure: fix check of date output
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -487,7 +487,7 @@ then
|
|||||||
split_days=0
|
split_days=0
|
||||||
else
|
else
|
||||||
split_seconds=`date '+%s'`
|
split_seconds=`date '+%s'`
|
||||||
if [ "x$split_seconds" = "" ]; then
|
if [ "x$split_seconds" = "x" ]; then
|
||||||
echo "error: could not get current time, --with-ntp-era option is needed"
|
echo "error: could not get current time, --with-ntp-era option is needed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user