From: Alexander Barton Date: Tue, 18 Aug 2015 14:02:13 +0000 (+0200) Subject: backup-status: Remove unused variables X-Git-Url: https://arthur.barton.de/gitweb/?p=backup-script.git;a=commitdiff_plain;h=9cc923e52039af98307a22382d353af260df5eb7;hp=6c7a2cdd99a409526a2058056b7270ae9cc4746c backup-status: Remove unused variables "local" and "destdir" seem to be unused? --- diff --git a/bin/backup-status b/bin/backup-status index cf7efc9..092931b 100755 --- a/bin/backup-status +++ b/bin/backup-status @@ -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