diff --git a/Application/Dopamine/Jailbreak/DOBootstrapper.m b/Application/Dopamine/Jailbreak/DOBootstrapper.m index 29f1d9fe6..2bc8ab30e 100644 --- a/Application/Dopamine/Jailbreak/DOBootstrapper.m +++ b/Application/Dopamine/Jailbreak/DOBootstrapper.m @@ -685,7 +685,7 @@ - (NSError *)deleteBootstrap NSString *path = [[NSString stringWithUTF8String:gSystemInfo.jailbreakInfo.rootPath] stringByDeletingLastPathComponent]; for (NSString *subItem in [[NSFileManager defaultManager] contentsOfDirectoryAtPath:@"/var/jb/etc/active" error:nil]) { if (subItem.length == 11 && [subItem hasPrefix:@"jb-"]) { - oldsecondaryjbpath = [@"/var/jb/etc/active" stringByAppendingPathComponent:subItem]; + NSString oldsecondaryjbpath = [@"/var/jb/etc/active" stringByAppendingPathComponent:subItem]; } } [[NSFileManager defaultManager] removeItemAtPath:oldsecondaryjbpath error:&error];