Chris Lamb wrote:

> Patch against 0.9.6-3 attached; a patch for etch is analoguous.

Actually, it's similar, but not entirely analoguous. Patch (for etch)
attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [EMAIL PROTECTED]
       `-
diff -urNd backupninja-0.9.4.orig/src/backupninja.in 
backupninja-0.9.4/src/backupninja.in
--- backupninja-0.9.4.orig/src/backupninja.in   2008-10-21 11:58:18.000000000 
+0100
+++ backupninja-0.9.4/src/backupninja.in        2008-10-21 11:58:43.000000000 
+0100
@@ -543,7 +543,9 @@
                        backuploc=$(grep ^directory "$configdirectory"/"$i" | 
awk '{print $3}')
                        if [ "$backuploc" != "$previous" ]; then
                                mountdev=$(mount | grep "$backuploc" | awk 
'{print $1}')
-                               df -h "$mountdev"
+                               if [ -n "$mountdev" ]; then
+                                       df -h "$mountdev"
+                               fi
                                previous="$backuploc"
                                fi
                        done

Attachment: signature.asc
Description: PGP signature

Reply via email to