浏览代码

function name clash

Bob Mottram 8 年前
父节点
当前提交
9ec2bf6cbd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-utils-backup

+ 2
- 2
src/freedombone-utils-backup 查看文件

@@ -189,7 +189,7 @@ function backup_unmount_drive {
189 189
     fi
190 190
 }
191 191
 
192
-function backup_database_local {
192
+function backup_database_local_usb {
193 193
     if [ ${#DATABASE_PASSWORD} -lt 2 ]; then
194 194
         echo $"No MariaDB password was given"
195 195
         function_check restart_site
@@ -307,7 +307,7 @@ function restore_directory_from_friend {
307 307
 function backup_database_to_usb {
308 308
     database_name=$1
309 309
     local_database_dir=/root/temp${1}data
310
-    backup_database_local ${database_name}
310
+    backup_database_local_usb ${database_name}
311 311
     if [ ! -f ${local_database_dir}/${1}.sql ]; then
312 312
         echo $"Error backing up ${1} database to ${local_database_dir}/${1}.sql"
313 313
         exit 62383