Jaap Marcus 5 lat temu
rodzic
commit
e0f20eaf0c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      bin/v-delete-user-backup

+ 1 - 1
bin/v-delete-user-backup

@@ -47,7 +47,7 @@ if [[ "$TYPE" =~ "sftp" ]]; then
     sftp_delete "$backup"
     sftp_delete "$backup"
 fi
 fi
 if [[ "$TYPE" =~ "ftp" ]] && [ "$deleted" == "0" ]; then
 if [[ "$TYPE" =~ "ftp" ]] && [ "$deleted" == "0" ]; then
-    fto_delete "backup"
+    ftp_delete "backup"
 fi
 fi
 if [[ "$TYPE" =~ "local" ]]; then
 if [[ "$TYPE" =~ "local" ]]; then
     rm -f $BACKUP/$2
     rm -f $BACKUP/$2