summaryrefslogtreecommitdiffstats
path: root/openrecoveryscript.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2019-01-12 05:49:52 +0100
committerEthan Yonker <dees_troy@teamw.in>2019-04-03 23:44:00 +0200
commit53796e73334ac9d87d4cb5a355fc8c1d205104f6 (patch)
treebb74fbf8593d23beddba9f899d05925b6fe03470 /openrecoveryscript.cpp
parentFix build in 5.1 tree (diff)
downloadandroid_bootable_recovery-53796e73334ac9d87d4cb5a355fc8c1d205104f6.tar
android_bootable_recovery-53796e73334ac9d87d4cb5a355fc8c1d205104f6.tar.gz
android_bootable_recovery-53796e73334ac9d87d4cb5a355fc8c1d205104f6.tar.bz2
android_bootable_recovery-53796e73334ac9d87d4cb5a355fc8c1d205104f6.tar.lz
android_bootable_recovery-53796e73334ac9d87d4cb5a355fc8c1d205104f6.tar.xz
android_bootable_recovery-53796e73334ac9d87d4cb5a355fc8c1d205104f6.tar.zst
android_bootable_recovery-53796e73334ac9d87d4cb5a355fc8c1d205104f6.zip
Diffstat (limited to 'openrecoveryscript.cpp')
-rwxr-xr-xopenrecoveryscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index 9478cd751..165211523 100755
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -178,7 +178,7 @@ int OpenRecoveryScript::run_script_file(void) {
strncpy(value2, tok, line_len - remove_nl);
DataManager::SetValue(TW_BACKUP_NAME, value2);
gui_msg(Msg("backup_folder_set=Backup folder set to '{1}'")(value2));
- if (PartitionManager.Check_Backup_Name(true) != 0) {
+ if (PartitionManager.Check_Backup_Name(value2, true, true) != 0) {
ret_val = 1;
continue;
}