OSDN Git Service

rsyncd: fix redirection
authormobinmob <mobinmob@disroot.org>
Mon, 24 Aug 2020 13:51:50 +0000 (16:51 +0300)
committermobinmob <mobinmob@disroot.org>
Mon, 24 Aug 2020 13:51:50 +0000 (16:51 +0300)
usr/share/66/service/rsyncd

index f4d74cd..8b0cb6a 100644 (file)
@@ -8,7 +8,7 @@
 [start]
 @build = custom
 @shebang = "/bin/sh"
-@execute = ( exec 2>1
+@execute = ( exec 2>&1
  [ ! -e /etc/rsyncd.conf ] && exit 1
 exec rsync --daemon --no-detach )