From 12906234564eaeaa1fe5b4ff776cd090d8d092b3 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Mon, 21 Dec 2020 19:07:15 +0100 Subject: [PATCH] fixed check of weed_enable --- bin/zsnapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/zsnapper b/bin/zsnapper index 1aac771..d557461 100644 --- a/bin/zsnapper +++ b/bin/zsnapper @@ -259,7 +259,7 @@ def weed_snapshots(fslist, snapshots, config, failed_snapshots): continue if source_fs not in snapshots: continue - if not conf['weed_enable']: + if not conf['weed_enable'] or conf['weed_enable'].lower() in ('false', 'no'): continue kwargs = {k: int(v) for k, v in conf.items() if k in [