fix rather stupid shell issue in test script
authormirabilos <m@mirbsd.org>
Fri, 21 Oct 2016 21:28:08 +0000 (23:28 +0200)
committermirabilos <m@mirbsd.org>
Fri, 21 Oct 2016 21:28:08 +0000 (23:28 +0200)
lib/test-getdate.sh

index 9fd1263..0057ba6 100644 (file)
@@ -118,10 +118,9 @@ valid_timezone ()
        NTZ=`TZ=$1 date +%Z`
        if test "$NTZ" = "$UTZ" || test "$NTZ" = "$1"; then
                skipreason="$1 is not a recognized timezone on this system"
-               return `false`
-       else
-               return `:`
+               return 1
        fi
+       :
 }