Changeset 3628 for trunk/gsdl/perllib
- Timestamp:
- 2002-12-10T15:18:12+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/util.pm
r2974 r3628 288 288 elsif (!-e $src) { 289 289 print STDERR "util::hard_link source file $src does not exist\n"; 290 return ;290 return 1; 291 291 } 292 292 elsif (-d $src) { 293 293 print STDERR "util::hard_link source $src is a directory\n"; 294 return ;294 return 1; 295 295 } 296 296 … … 307 307 &File::Copy::copy ($src, $dest); 308 308 } 309 return 0; 309 310 } 310 311
Note:
See TracChangeset
for help on using the changeset viewer.