From b778cecce6328650e51c3bd39be6fabbac9fc591 Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Wed, 9 Nov 2016 11:30:53 +0100
Subject: [PATCH] Added -dump to star command to support socket files.

---
 primary.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/primary.py b/primary.py
index fb86f6b..2be17f3 100644
--- a/primary.py
+++ b/primary.py
@@ -106,7 +106,7 @@ class Server:
         self.log.DEBUG('START run_star',
                        self.config.primary.mount.path,
                        self.path)
-        cmd = [ '/bin/star', '-c', '-acl', '-Hexustar', '-list=-',
+        cmd = [ '/bin/star', '-c', '-acl', '-Hexustar', '-dump', '-list=-',
                 '-no-statistics' ]
         cwd = os.path.join(self.config.primary.mount.path, self.path)
         stdin =  star_socket.makefile('rb')
-- 
GitLab