Fix rsyncd.conf generation.
[rsync/rsync.git] / testsuite / rsync.fns
index 40c9659..8452853 100644 (file)
@@ -111,19 +111,18 @@ function build_rsyncd_conf {
     logfile="$scratchdir/rsyncd.log"
 
     cat >$conf <<EOF
-    # rsyncd configuration file autogenerated by $0
+# rsyncd configuration file autogenerated by $0
 
-    pid file = $pidfile
-    use chroot = no
-    hosts allow = localhost, 127.0.0.1
-    log file = $logfile
+pid file = $pidfile
+use chroot = no
+hosts allow = localhost, 127.0.0.1
+log file = $logfile
 
-    [test-from] = $scratchdir/daemon-from/
-           read only = yes
-
-    [test-to] = $scratchdir/daemon-to/
-           read only = no
+[test-from] = $scratchdir/daemon-from/
+       read only = yes
 
+[test-to] = $scratchdir/daemon-to/
+       read only = no
 EOF
 }