diff options
-rw-r--r-- | kdf/disklist.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kdf/disklist.cpp b/kdf/disklist.cpp index b98081c..3526999 100644 --- a/kdf/disklist.cpp +++ b/kdf/disklist.cpp @@ -183,8 +183,9 @@ TQFile f(FSTAB); while (! t.eof()) { s=t.readLine(); s=s.simplifyWhiteSpace(); - if ( (!s.isEmpty() ) && (s.find(DELIMITER)!=0) ) { + if ( (!s.isEmpty() ) && (s.find(DELIMITER)!=0) && (s.find("LABEL=")!=0) ) { // not empty or commented out by '#' + // skip LABEL entries as long as kdf can't handle them properly // kdDebug() << "GOT: [" << s << "]" << endl; disk = new DiskEntry();// TQ_CHECK_PTR(disk); disk->setMounted(FALSE); |