--- fuse-comp.pl 2007/09/02 11:38:59 38 +++ fuse-comp.pl 2007/09/02 12:03:52 39 @@ -358,8 +358,8 @@ warn "# symlink( $from_path -> $to_path ) = $rv\n" if $debug; my $tmp = $mount->{tmp} . '/' . $from; - if ( -e $tmp ) { - my $tmp_to = $mount->{$tmp} . '/' . $to; + my $tmp_to = $mount->{tmp} . '/' . $to; + if ( $rv == 0 && -e $tmp_to ) { symlink( $tmp, $tmp_to ) || confess "can't symlink $tmp -> $tmp_to: $!"; } return $rv;