Large migrations over SSH continue failing despite the addition of keepalives in...
[citadel] / citadel / modules / migrate / serv_migrate.c
index 7cc8fc0..2ac3cb8 100644 (file)
@@ -1103,7 +1103,7 @@ void migr_do_restore_meta(void) {
 void cmd_migr(char *cmdbuf) {
        char cmd[32];
        
 void cmd_migr(char *cmdbuf) {
        char cmd[32];
        
-       if (CtdlAccessCheck(ac_internal)) return;
+       if (CtdlAccessCheck(ac_aide)) return;
        
        if (CtdlTrySingleUser()) {
                CtdlDisableHouseKeeping();
        
        if (CtdlTrySingleUser()) {
                CtdlDisableHouseKeeping();