Skip to content

Commit

Permalink
Item13321: || and or have different precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
Comment committed Mar 26, 2015
1 parent 57dfc65 commit 05bdf5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PlainFileStoreContrib/lib/Foswiki/Store/PlainFile.pm
Expand Up @@ -596,7 +596,7 @@ sub atomicUnlock {
my ( $this, $meta, $cUID ) = @_;

my $filename = _getData($meta) . '.lock';
unlink $filename
unlink($filename)
or die "PlainFile: failed to delete $filename: $!";
}

Expand Down Expand Up @@ -838,7 +838,7 @@ sub setLease {
_saveFile( $filename, join( "\n", %$lease ) );
}
elsif ( -e $filename ) {
unlink $filename
unlink($filename)
or die "PlainFile: failed to delete $filename: $!";
}
}
Expand Down

0 comments on commit 05bdf5b

Please sign in to comment.