Projects
Browse Source     Search     Timeline     Wiki

Changeset 23325

Show
Ignore:
Timestamp:
08/01/07 09:25:38 (16 months ago)
Author:
zarzycki@…
Message:

Fix an editing error that inversed the logic.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchctl.c

    r23324 r23325  
    225225        } 
    226226 
    227         if (getuid() && !is_managed) { 
     227        if (getuid() == 0 && !is_managed) { 
    228228                mach_port_t root_bs = str2bsport("/"); 
    229229                task_set_bootstrap_port(mach_task_self(), root_bs);