summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/op/pwent.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/pwent.t b/t/op/pwent.t
index 78805823f5..e755cf2422 100644
--- a/t/op/pwent.t
+++ b/t/op/pwent.t
@@ -31,8 +31,8 @@ BEGIN {
# Try NIS+.
$where //= try_prog('NIS+', 'passwd.org_dir', '/bin/niscat');
- if (not defined $where && # Try dscl
- $Config{useperlio} eq 'define') { # need perlio
+ if (!defined $where && # Try dscl
+ $Config{useperlio}) { # need perlio
# Map dscl items to passwd fields, and provide support for
# mucking with the dscl output if we need to (and we do).