]> arthur.barton.de Git - backup-script.git/commitdiff
Fix "backup-status" to respect "system" configuration variable
authorAlexander Barton <alex@barton.de>
Tue, 2 Jun 2015 10:21:05 +0000 (12:21 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 2 Jun 2015 10:21:05 +0000 (12:21 +0200)
bin/backup-status

index 32ef7c471f2660f2a71c461e8e497bbad7875dba..44725f93e53a4d671408fffd37805d5f1ce0044c 100755 (executable)
@@ -112,7 +112,7 @@ for f in $sys; do
        [ "$system" = "localhost" -o "$system" = "127.0.0.1" ] && local=1
 
        destdir="$target"
-       target="$target/$fname"
+       target="$target/$system"
 
        [ -d "$target" ] || continue