mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Fix errors when dealing with the root data set
PR: prots/140811 Submitted by: Anonymous <swell.k@gmail.com> Approved by: maintainer timeout (1.5 months)
This commit is contained in:
parent
095cb9d088
commit
52b74b65c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247576
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= zfs-snapshot-mgmt
|
PORTNAME= zfs-snapshot-mgmt
|
||||||
PORTVERSION= 20090201
|
PORTVERSION= 20090201
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= http://marcin.studio4plus.com/files/
|
MASTER_SITES= http://marcin.studio4plus.com/files/
|
||||||
|
|
||||||
|
14
sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt
Normal file
14
sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- zfs-snapshot-mgmt~
|
||||||
|
+++ zfs-snapshot-mgmt
|
||||||
|
@@ -154,7 +154,11 @@ class FSInfo
|
||||||
|
end
|
||||||
|
|
||||||
|
def pool
|
||||||
|
+ if name["/"]
|
||||||
|
name[/\A.*?\//].chop
|
||||||
|
+ else
|
||||||
|
+ name
|
||||||
|
+ end
|
||||||
|
end
|
||||||
|
|
||||||
|
private
|
Loading…
Reference in New Issue
Block a user