Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make sure the snapshot list is order by time, not name

  • Loading branch information...
commit 4e117af3bb1e86a6583a79d526db2317344951f4 1 parent 14e4d7e
@beanpole135 beanpole135 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src-qt4/life-preserver/LPBackend.cpp
View
2  src-qt4/life-preserver/LPBackend.cpp
@@ -71,7 +71,7 @@ QStringList LPBackend::listSnapshots(QString dsmountpoint){
QDir dir(dsmountpoint+"/.zfs/snapshot");
QStringList list;
if(dir.exists()){
- list = dir.entryList(QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name | QDir::Reversed);
+ list = dir.entryList(QDir::Dirs | QDir::NoDotAndDotDot, QDir::Time | QDir::Reversed);
}
return list;
}
Please sign in to comment.
Something went wrong with that request. Please try again.