Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1254)

Unified Diff: appengine/swarming/swarming_bot/api/platforms/posix.py

Issue 2993943002: swarming: use df's -l argument (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/swarming_bot/api/platforms/posix.py
diff --git a/appengine/swarming/swarming_bot/api/platforms/posix.py b/appengine/swarming/swarming_bot/api/platforms/posix.py
index dca4f5e4fbc46ba52cf3ed8e5f2353999121495e..6d604e61f07ffc0d893e38f62f09c06475b2817e 100644
--- a/appengine/swarming/swarming_bot/api/platforms/posix.py
+++ b/appengine/swarming/swarming_bot/api/platforms/posix.py
@@ -12,7 +12,7 @@ import sys
def _run_df():
"""Runs df and returns the output."""
proc = subprocess.Popen(
- ['/bin/df', '-k', '-P'], env={'LANG': 'C'},
+ ['/bin/df', '-k', '-P', '-l'], env={'LANG': 'C'},
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
for l in proc.communicate()[0].splitlines():
l = l.decode('utf-8')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698