]> granicus.if.org Git - php/commitdiff
fix condition
authorAnatol Belski <ab@php.net>
Thu, 1 Dec 2016 12:33:27 +0000 (13:33 +0100)
committerAnatol Belski <ab@php.net>
Thu, 1 Dec 2016 12:33:27 +0000 (13:33 +0100)
ext/standard/tests/file/bug47517.phpt

index 7d7bcd583a1cc904436a0659b5a1b2691202e8cc..f8c9e4144602ce529ec512d5c2a890918c540fb9 100644 (file)
@@ -6,7 +6,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
     die('skip only for Windows');
 }
 exec('net session 2>&1', $out, $status);
-if ($status) {
+if (!$status) {
        die('skip test runs under an elevated user account');
 }
 ?>