Fixed error causing find to complain about not having -mindepth earlier
authorMicah Anderson <micah@riseup.net>
Wed, 28 Sep 2005 14:57:17 +0000 (14:57 +0000)
committerMicah Anderson <micah@riseup.net>
Wed, 28 Sep 2005 14:57:17 +0000 (14:57 +0000)
backupninja
changelog

index b91d2c885dd0e5bec2348f4605425365c822201d..ea7304e115918c95f839b293dd4156cc6dac14f5 100755 (executable)
@@ -486,7 +486,7 @@ errormsg=""
 if [ "$singlerun" ]; then
        files=$singlerun
 else
-       files=`find $configdirectory ! -name '.*.swp' -mindepth 1 | sort -n`
+       files=`find $configdirectory -mindepth 1 ! -name '.*.swp' | sort -n`
 fi
 
 for file in $files; do
index 8ba0ab5979b24927adacb0ad21a59da2ca577974..46227d4cc88c687e23d1b1000a8eff443d7e183b 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,5 +1,6 @@
        removed erroneous magic file marker in pgsql handler
        fixed insecure temporary file creation
+       fixed incorrect find positional
 version 0.8 -- September 15 2005
        added pgsql (PostgreSQL) handler, with vservers support.
        added vservers support to duplicity handler