summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-04-16 17:48:12 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-04-16 17:48:12 +0200
commit78badf802783180feb9bd3b93061128af7ef6adf (patch)
tree8e73af641eac1584a21f6957ac44b872681ccf57
parent92d40d26682ff4fb2fc44d8c0c4f313a4b9b0abd (diff)
downloadbin-78badf802783180feb9bd3b93061128af7ef6adf.tar.gz
bin-78badf802783180feb9bd3b93061128af7ef6adf.tar.xz
backup.sh: Remove duplicate code; remove left over variable
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xbackup.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/backup.sh b/backup.sh
index e6d4ad0..f79d125 100755
--- a/backup.sh
+++ b/backup.sh
@@ -60,7 +60,6 @@ EOF
vgdisplay > "$backupDataDir/vgdisplay"
pvdisplay > "$backupDataDir/pvdisplay"
lvdisplay > "$backupDataDir/lvdisplay"
- lvdisplay > "$backupDataDir/lvdisplay"
df -a > "$backupDataDir/df"
findmnt -l > "$backupDataDir/findmnt"
@@ -121,7 +120,6 @@ exclude_mountpoints() {
local error=0
for fs in "${excludeMountpoints[@]}"; do
- excludeList+="- $fs/*"$'\n'
excludeList_borg+="sh:$fs/*"$'\n'
done