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
9d157d9a
Commit
9d157d9a
authored
Jul 16, 2020
by
Volodymyr Yurchenko
Browse files
Do not commit a file if it's size <= 0
parent
e24d6072
Pipeline
#1801796
passed with stage
in 7 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/TJAlienFile.cxx
View file @
9d157d9a
...
...
@@ -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