configure: fix check of date output
This commit is contained in:
parent
610f234043
commit
d44e26ba22
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -487,7 +487,7 @@ then
|
|||
split_days=0
|
||||
else
|
||||
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"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue