diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 340e7f09..a53a354c 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -279,7 +279,7 @@ { NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:@selector(installWithToolAndRelaunch:)]]; [invocation setSelector:@selector(installWithToolAndRelaunch:)]; - [invocation setArgument:&relaunch atIndex:0]; + [invocation setArgument:&relaunch atIndex:2]; [invocation setTarget:self]; postponedOnce = YES; if ([[updater delegate] updater:updater shouldPostponeRelaunchForUpdate:updateItem untilInvoking:invocation])