Skip to content

Commit

Permalink
Corrected BackupRoot path
Browse files Browse the repository at this point in the history
  • Loading branch information
syscl committed Jan 20, 2019
1 parent bee73ad commit b9210ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions restore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
# restore under single mode
# Execute script location
REPO=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
# BackupRoot="${REPO}/Display-Backups"
BackupRoot="${REPO}"
BackupRoot="${REPO}/Display-Backups"
if [ ! -d ${BackupRoot} ]; then
# no backup found
echo "${BackupRoot} does not exist, abort."
Expand Down

0 comments on commit b9210ec

Please sign in to comment.