Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn-ROOT
Commits
90701891
Commit
90701891
authored
Jul 16, 2020
by
Volodymyr Yurchenko
Browse files
Do not commit a file if it's size <= 0
parent
1cf39db3
Pipeline
#1801787
failed with stage
in 5 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/TJAlienFile.cxx
View file @
90701891
...
...
@@ -514,8 +514,10 @@ void TJAlienFile::Close(Option_t * option)
TString
command
(
"commit"
);
Long64_t
siz
=
GetSize
();
if
(
siz
<=
0
)
if
(
siz
<=
0
)
{
Error
(
"Close"
,
"the reported size of the written file is <= 0"
);
return
;
}
command
+=
"
\"
"
;
command
+=
fAuthz
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment