Skip to content

Commit

Permalink
Merge pull request #69 from ikifar2012/dev
Browse files Browse the repository at this point in the history
Fix password check
  • Loading branch information
ikifar2012 authored Sep 13, 2022
2 parents 28be70b + 30e107f commit b6f76a2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions remote-backup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2022.9.2

- Fix password check #69

**Full Changelog**: https://github.com/ikifar2012/remote-backup-addon/compare/2022.9.1...2022.9.2
# 2022.9.1

- Backup password fix #68
Expand Down
2 changes: 1 addition & 1 deletion remote-backup/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Remote Backup
version: "2022.9.1"
version: "2022.9.2"
slug: remote_backup
description: Automatically create and transfer HA backups using SFTP (SCP), rsync, or rclone (experimental)
image: ikifar/remote-backup-{arch}
Expand Down
2 changes: 1 addition & 1 deletion remote-backup/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function create-local-backup {
local -r backup_exclude_addons=$(bashio::config "backup_exclude_addons")
local -r base_folders="addons/local homeassistant media share ssl"
local -r backup_password=$(bashio::config "backup_password")
if bashio::config.has_value "${backup_password}"; then
if bashio::config.has_value "backup_password"; then
bashio::log.info "Creating local backup with password."
local data="{\"name\":\"${BACKUP_NAME}\", \"password\": \"${backup_password}\"}"
else
Expand Down

0 comments on commit b6f76a2

Please sign in to comment.