From 3d3c4b8cbd7201e5edb8cb7b54eeba201208714f Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 31 Oct 2011 10:02:18 -0400 Subject: properly initialize content so that non-existant files don't get read --- src/lib/Client/Tools/POSIX.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py index 6ee365d43..0faa0dcda 100644 --- a/src/lib/Client/Tools/POSIX.py +++ b/src/lib/Client/Tools/POSIX.py @@ -470,6 +470,7 @@ class POSIX(Bcfg2.Client.Tools.Tool): # first, see if the target file exists at all; if not, # they're clearly different different = True + content = "" else: # next, see if the size of the target file is different # from the size of the desired content -- cgit v1.2.3-1-g7c22