Skip to content
Permalink
Browse files

9919 Fix index error in function list_filesystems

`zfs list` does empty output when running from a CD.
  • Loading branch information...
balrog-nona committed Nov 3, 2018
1 parent 358d0c7 commit cf11df850ed09ea2378e5f40ab86918e85663e48
Showing with 2 additions and 1 deletion.
  1. +2 −1 usr/share/time-slider/lib/time_slider/zfs.py
@@ -235,7 +235,8 @@ def list_filesystems(self, pattern = None):
(str(cmd), err, errdata)
for line in outdata.rstrip().split('\n'):
line = line.rstrip().split()
Datasets.filesystems.append([line[0], line[1]])
if len(outdata) > 1:
Datasets.filesystems.append([line[0], line[1]])
Datasets._filesystemslock.release()

if pattern == None:

0 comments on commit cf11df8

Please sign in to comment.
You can’t perform that action at this time.