summaryrefslogtreecommitdiff
path: root/lib/File/Copy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/File/Copy.pm')
-rw-r--r--lib/File/Copy.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm
index 21473a6dc9..d0b3c8977e 100644
--- a/lib/File/Copy.pm
+++ b/lib/File/Copy.pm
@@ -181,7 +181,7 @@ unless (defined &syscopy) {
*syscopy = \&rmscopy;
} elsif ($^O eq 'mpeix') {
*syscopy = sub {
- return 0 unless @_ == 0;
+ return 0 unless @_ == 2;
# Use the MPE cp program in order to
# preserve MPE file attributes.
return system('/bin/cp', '-f', $_[0], $_[1]) == 0;