mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
tests: Reverted previous change, do not append in createLocalFile()
This commit is contained in:
parent
e6c501de8e
commit
774432066e
@ -572,11 +572,7 @@ sub createLocalFile( $$ )
|
||||
|
||||
my $md5 = Digest::MD5->new;
|
||||
|
||||
if (-e $fname) {
|
||||
open(FILE, ">>", $fname ) or die "Can not append to file ($!)";
|
||||
} else {
|
||||
open(FILE, ">", $fname) or die "Can't open $fname for writing ($!)";
|
||||
}
|
||||
open(FILE, ">", $fname) or die "Can't open $fname for writing ($!)";
|
||||
|
||||
my $minimum = 32;
|
||||
my $range = 96;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user