projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f05ed1
)
report refresh_file_list errors
author
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 14 Apr 2012 15:27:13 +0000
(17:27 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 14 Apr 2012 15:27:13 +0000
(17:27 +0200)
lib/CloudStore/API.pm
patch
|
blob
|
history
diff --git
a/lib/CloudStore/API.pm
b/lib/CloudStore/API.pm
index
8a054ba
..
39a27cd
100644
(file)
--- a/
lib/CloudStore/API.pm
+++ b/
lib/CloudStore/API.pm
@@
-307,7
+307,9
@@
sub refresh_file_list {
my $full_path = "$user->{dir}/.meta/files";
if ( -e $full_path ) {
warn "## refresh_file_list $full_path";
- unlink $full_path;
+ unlink $full_path || warn "unlink $full_path: $!";
+ } else {
+ warn "## refresh_file_list $full_path missing";
}
}