1
0
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:
Philip M. Gollucci 2010-01-11 03:42:14 +00:00
parent 095cb9d088
commit 52b74b65c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247576
2 changed files with 15 additions and 0 deletions

View File

@ -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/

View 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