Corrected finish_install toll for case when only components install needs.

This commit is contained in:
Dmytro Tretiakov committed 2014-08-11 17:46:32 +03:00
1 parent 5e906948f3
commit d487361cb9
1 file changed
+1 -1
+1 -1
View File
@@ -67,7 +67,7 @@
BOOL alreadyTerminated = (getppid() == 1); // ppid is launchd (1) => parent terminated already
if (alreadyTerminated)
if (alreadyTerminated || 0 == (finishTasks & SUFinishUpdateWithRelaunch))
{
[self parentHasQuit];
}