We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19cdf5f commit 921f3b8Copy full SHA for 921f3b8
1 file changed
bin/v-restore-user
@@ -488,7 +488,7 @@ if [ "$db" != 'no' ] && [ ! -z "$DB_SYSTEM" ]; then
488
echo -e "$(date "+%F %T") $database" |tee -a $tmpdir/restore.log
489
490
# Checking database existance
491
- check_config=$(grep "DB='$db'" $USER_DATA/db.conf)
+ check_config=$(grep "DB='$database'" $USER_DATA/db.conf)
492
493
# Unpacking database container
494
tar xf $BACKUP/$backup -C $tmpdir ./db/$database
0 commit comments