]> arthur.barton.de Git - backup-script.git/commitdiff
backup-status: Remove unused variables
authorAlexander Barton <alex@barton.de>
Tue, 18 Aug 2015 14:02:13 +0000 (16:02 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 18 Aug 2015 14:02:13 +0000 (16:02 +0200)
"local" and "destdir" seem to be unused?

bin/backup-status

index cf7efc97ad9251a85020161ac9c49413ff45db37..092931bb8fbf699c70dc30b403dbb1106c57bda2 100755 (executable)
@@ -117,10 +117,6 @@ for f in $sys; do
        # Read in system configuration file
        source "$f"
 
-       # Validate configuration
-       [ "$system" = "localhost" -o "$system" = "127.0.0.1" ] && local=1
-
-       destdir="$target"
        target="$target/$system"
 
        [ -d "$target" ] || continue