diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-09-11 17:31:49 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-09-11 17:31:49 +0000 |
commit | d23ad57a34d78861156fc0e9617069f24c95e1c8 (patch) | |
tree | 2b537f8559622a3e3a101a2ae483e6bd854b6d53 /src/lib/Client | |
parent | 3f1134a665925748b13dc3832e1cfd5722b9c9e8 (diff) | |
download | bcfg2-d23ad57a34d78861156fc0e9617069f24c95e1c8.tar.gz bcfg2-d23ad57a34d78861156fc0e9617069f24c95e1c8.tar.bz2 bcfg2-d23ad57a34d78861156fc0e9617069f24c95e1c8.zip |
Fix Paranoid mode
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2240 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Toolset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Toolset.py b/src/lib/Client/Toolset.py index 1b3ae46f5..93cc3a0e5 100644 --- a/src/lib/Client/Toolset.py +++ b/src/lib/Client/Toolset.py @@ -449,7 +449,7 @@ class Toolset(object): os.chown(newfile.name, 0, 0) os.chmod(newfile.name, calcPerms(S_IFREG, entry.get('perms'))) if entry.get("paranoid", False) and self.setup.get("paranoid", False): - self.saferun("cp %s /var/cache/bcfg2/%s" % (entry.get('name'))) + self.saferun("cp %s /var/cache/bcfg2/%s" % (entry.get('name'), entry.get('name'))) os.rename(newfile.name, entry.get('name')) return True except (OSError, IOError), err: |