diff options
author | Christopher Roy Bratusek <nano@jpberlin.de> | 2015-03-26 21:34:09 +0100 |
---|---|---|
committer | Christopher Roy Bratusek <nano@jpberlin.de> | 2015-03-26 21:34:09 +0100 |
commit | 5cc71e5b53251ff8ffc145bc94dc4d4efbd3ee31 (patch) | |
tree | 2ad732708e138fcce2eb67351b3e5628a51b5c9a /libLumina/LuminaOS-Debian.cpp | |
parent | - updated debian/changelog (diff) | |
parent | Streamline quite a bit of the background worker: (diff) | |
download | lumina-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-Debian.cpp')
-rw-r--r-- | libLumina/LuminaOS-Debian.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaOS-Debian.cpp b/libLumina/LuminaOS-Debian.cpp index f1048347..7ce8250f 100644 --- a/libLumina/LuminaOS-Debian.cpp +++ b/libLumina/LuminaOS-Debian.cpp @@ -209,7 +209,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 -h " + dir); + QStringList mountInfo = LUtils::getCmdOutput("df -h \"" + dir + "\""); QString::SectionFlag skipEmpty = QString::SectionSkipEmpty; //output: 200G of 400G available on /mount/point QString capacity = mountInfo[1].section(" ",3,3, skipEmpty) + " of " + mountInfo[1].section(" ",1,1, skipEmpty) + " available on " + mountInfo[1].section(" ",5,5, skipEmpty); |