]> git.p6c8.net - devedit.git/commitdiff
Whoops...
authorpcanterino <>
Wed, 6 Jul 2005 19:47:14 +0000 (19:47 +0000)
committerpcanterino <>
Wed, 6 Jul 2005 19:47:14 +0000 (19:47 +0000)
modules/Command.pm

index d910bda9352f6fe1d9cbd968a5150366472684e1..5105c3bac96f4401773f28d98e4fa22008c48908 100644 (file)
@@ -581,6 +581,7 @@ sub exec_copy($$)
  my $new_physical   = $data->{'new_physical'};
 
  return error($config->{'errors'}->{'link_copy'},$dir) if(-l $physical);
+ return error($config->{'errors'}->{'no_copy'},$dir)   unless(-r $physical);
 
  if($new_physical)
  {

patrick-canterino.de