[PC-BSD Commits] r6295 - pcbsd/trunk/lifePreserver/scripts

svn at pcbsd.org svn at pcbsd.org
Wed Feb 24 09:28:53 PST 2010


Author: kris
Date: 2010-02-24 09:28:53 -0800 (Wed, 24 Feb 2010)
New Revision: 6295

Modified:
   pcbsd/trunk/lifePreserver/scripts/list-backup-rsync.sh
Log:

Get rid of "&&" in list-backup-rsync.sh



Modified: pcbsd/trunk/lifePreserver/scripts/list-backup-rsync.sh
===================================================================
--- pcbsd/trunk/lifePreserver/scripts/list-backup-rsync.sh	2010-02-24 17:27:14 UTC (rev 6294)
+++ pcbsd/trunk/lifePreserver/scripts/list-backup-rsync.sh	2010-02-24 17:28:53 UTC (rev 6295)
@@ -36,7 +36,7 @@
 fi
 
 # Get a listing of the number of full backups saved
-OLDBACKUPS=`ssh -p ${PORT} ${SSHHOST} "cd ${BACKDIR}/ && ls -dt back-*"`
+OLDBACKUPS=`ssh -p ${PORT} ${SSHHOST} "cd ${BACKDIR}/ ; ls -dt back-*"`
 if [ "$?" = "0" ]
 then
   for i in ${OLDBACKUPS}



More information about the Commits mailing list