--- trunk/launchd/src/launchd_runtime.c 2009-03-30 23:02:31 UTC (rev 23875)
+++ trunk/launchd/src/launchd_runtime.c 2009-03-31 04:24:57 UTC (rev 23876)
@@ -1823,7 +1823,7 @@
g_use_gmalloc = true;
}
- if( pid1_magic && stat("/var/db/.launchd_log_pid1_shutdown", &sb) ) {
+ if( pid1_magic && stat("/var/db/.launchd_log_pid1_shutdown", &sb) == 0 ) {
g_log_pid1_shutdown = true;
}