From f3d2e7061a16ea2708c5e62f5f62a0616395a63e Mon Sep 17 00:00:00 2001
From: Wonderfall <wonderfall@targaryen.house>
Date: Thu, 11 May 2017 19:14:39 +0200
Subject: [PATCH] fix #185 : run with correct permissions

---
 rtorrent-flood/run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtorrent-flood/run.sh b/rtorrent-flood/run.sh
index a5a963b..239a27a 100644
--- a/rtorrent-flood/run.sh
+++ b/rtorrent-flood/run.sh
@@ -20,4 +20,4 @@ if [ ${RTORRENT_SCGI} -ne 0 ]; then
     sed -i -e 's|socket: true,|socket: false,|' -e 's|port: 5000,|port: '${RTORRENT_SCGI}',|' /usr/flood/config.js
 fi
 
-exec su-exec $GID:$UID /bin/s6-svscan /etc/s6.d
+exec su-exec $UID:$GID /bin/s6-svscan /etc/s6.d