From: Bodo Möller Date: Wed, 14 Jun 2000 10:09:46 +0000 (+0000) Subject: Report "error" (usually just "File exists", which is harmless) X-Git-Tag: OpenSSL-engine-0_9_6-beta1~21^2~62 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=9ef876f2697d2a01fcce5cda6f0b0f80493b2bdd Report "error" (usually just "File exists", which is harmless) when symlink() fails. --- diff --git a/util/mklink.pl b/util/mklink.pl index de555820ec..d7b997ada7 100755 --- a/util/mklink.pl +++ b/util/mklink.pl @@ -49,7 +49,7 @@ my $to = join('/', @to_path); my $file; foreach $file (@files) { -# print "ln -s $to/$file $from/$file\n"; - symlink("$to/$file", "$from/$file"); - print $file . " => $from/$file\n"; + my $err = ""; + symlink("$to/$file", "$from/$file") or $err = " [$!]"; + print $file . " => $from/$file$err\n"; }