---
 snapshot |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/snapshot b/snapshot
index 9ab1822..539d702 100755
--- a/snapshot
+++ b/snapshot
@@ -91,7 +91,7 @@ class FileBackend < StorageBackend
                        fn = File.basename(target)
 
                        tmptarget = 
dir+"/.tmp."+randstring()+"."+(Process.pid.to_s)+"."+fn
-                       File.copy(source, tmptarget)
+                       FileUtils.cp(source, tmptarget)
                        begin
                                File.link(tmptarget, target)
                                add_to_journal(digest)
-- 
1.7.10.4



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to