From: Joe Z. <jz...@us...> - 2010-02-24 21:59:32
|
Update of /cvsroot/bobs/bobs In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv11640/bobs Modified Files: systemcheck.php Log Message: 2010-02-24 jz Avoid an error while requesting a non-recursive listing from remote systems with an older version of rsync. Index: systemcheck.php =================================================================== RCS file: /cvsroot/bobs/bobs/systemcheck.php,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- systemcheck.php 1 Jun 2004 06:18:37 -0000 1.10 +++ systemcheck.php 24 Feb 2010 21:59:22 -0000 1.11 @@ -450,7 +450,7 @@ if ($method == "rsync"){ $rsync_share = $config['rsync_share']; - $rsync = "rsync -n " . $server . '::' . $rsync_share; + $rsync = "rsync -n --no-dirs " . $server . '::' . $rsync_share; $t->assign ('ITEM', "Using rsync to list files for backup method \"$method\" using this command:<br> $rsync"); $srvtmpl->assign ('COMMAND', "$rsync"); // the mount command |