]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
configure: fix check of date output
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Dec 2015 11:55:05 +0000 (12:55 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Dec 2015 17:02:05 +0000 (18:02 +0100)
configure

index 5a52abf1fedcbb5fedfb9d8a20f7277b704acdaf..d268f77055eae363da0869b21b47ae25c1d485d1 100755 (executable)
--- a/configure
+++ b/configure
@@ -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