summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index e183f46f1..d5033bbe8 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1111,7 +1111,7 @@ sub running_window_manager {
foreach (@window_managers) {
my @pids = fuzzy_pidofs(qr/\b$_\b/) or next;
- return wantarray ? ($_, @pids) : $_;
+ return wantarray() ? ($_, @pids) : $_;
}
undef;
}