Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
9b071fa6
Commit
9b071fa6
authored
Sep 23, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
return only if no stdout
parent
3df82ac9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
debomatic-webui/lib/stats.coffee
debomatic-webui/lib/stats.coffee
+2
-1
No files found.
debomatic-webui/lib/stats.coffee
View file @
9b071fa6
...
@@ -37,7 +37,8 @@ get_disk_usage = (cb) ->
...
@@ -37,7 +37,8 @@ get_disk_usage = (cb) ->
if
stderr
?
if
stderr
?
error
=
'
\n\t
'
+
stderr
.
replace
(
/\n/g
,
'
\n\t
'
)
error
=
'
\n\t
'
+
stderr
.
replace
(
/\n/g
,
'
\n\t
'
)
utils
.
errors_handler
"disk usage error:"
,
error
utils
.
errors_handler
"disk usage error:"
,
error
return
if
not
stdout
?
return
result
=
{}
result
=
{}
others
=
0
others
=
0
for
line
in
stdout
.
split
(
'
\n
'
)
for
line
in
stdout
.
split
(
'
\n
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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