diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-01-27 17:38:44 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-01-27 17:38:44 +0000 |
commit | 735ca6308970005514f194a19d29817ec75c7c73 (patch) | |
tree | 6f056a901c439d6ed0b1416078bc77c6048fe7e0 /sysutils/zfs-snapshot-mgmt | |
parent | f4c4d969433f20e16bd4f5ad633989151b1397d5 (diff) | |
download | ports-735ca6308970005514f194a19d29817ec75c7c73.tar.gz ports-735ca6308970005514f194a19d29817ec75c7c73.zip |
Notes
Diffstat (limited to 'sysutils/zfs-snapshot-mgmt')
-rw-r--r-- | sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt b/sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt index 44406250f919..382543b79b93 100644 --- a/sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt +++ b/sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt @@ -12,3 +12,21 @@ end private +@@ -175,7 +179,7 @@ private + + end + +-class Config ++class ZConfig + attr_reader :snapshot_prefix, :filesystems, :pools + + def initialize(value) +@@ -194,7 +198,7 @@ class Config + + config_yaml = File.open(CONFIG_FILE_NAME).read(CONFIG_SIZE_MAX) + die "Config file too long" if config_yaml.nil? +-config = Config.new(YAML::load(config_yaml)) ++config = ZConfig.new(YAML::load(config_yaml)) + + now_minutes = Time.now.to_i / 60 + |