aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-Linux.cpp
diff options
context:
space:
mode:
authorChristopher Roy Bratusek <nano@jpberlin.de>2015-03-26 21:34:09 +0100
committerChristopher Roy Bratusek <nano@jpberlin.de>2015-03-26 21:34:09 +0100
commit5cc71e5b53251ff8ffc145bc94dc4d4efbd3ee31 (patch)
tree2ad732708e138fcce2eb67351b3e5628a51b5c9a /libLumina/LuminaOS-Linux.cpp
parent- updated debian/changelog (diff)
parentStreamline quite a bit of the background worker: (diff)
downloadlumina-5cc71e5b53251ff8ffc145bc94dc4d4efbd3ee31.tar.gz
lumina-5cc71e5b53251ff8ffc145bc94dc4d4efbd3ee31.tar.bz2
lumina-5cc71e5b53251ff8ffc145bc94dc4d4efbd3ee31.zip
Merge remote-tracking branch 'upstream/master'
Conflicts: libLumina/LuminaOS-Debian.cpp
Diffstat (limited to 'libLumina/LuminaOS-Linux.cpp')
-rw-r--r--libLumina/LuminaOS-Linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaOS-Linux.cpp b/libLumina/LuminaOS-Linux.cpp
index 9b4048d1..97c29bfb 100644
--- a/libLumina/LuminaOS-Linux.cpp
+++ b/libLumina/LuminaOS-Linux.cpp
@@ -206,7 +206,7 @@ QStringList LOS::Checksums(QStringList filepaths){ //Return: checksum of the inp
//file system capacity
QString LOS::FileSystemCapacity(QString dir) { //Return: percentage capacity as give by the df command
- QStringList mountInfo = LUtils::getCmdOutput("df " + dir);
+ QStringList mountInfo = LUtils::getCmdOutput("df \"" + dir+"\"");
QString::SectionFlag skipEmpty = QString::SectionSkipEmpty;
//we take the 5th word on the 2 line
QString capacity = mountInfo[1].section(" ",4,4, skipEmpty);
bgstack15