Re: "Ignore Ownership on this volume" check-box status
Re: "Ignore Ownership on this volume" check-box status
- Subject: Re: "Ignore Ownership on this volume" check-box status
- From: Sherm Pendley <email@hidden>
- Date: Fri, 16 Apr 2004 16:27:32 -0400
On Apr 16, 2004, at 8:05 AM, Lorenzo wrote:
But [task terminationStatus] returns zero, either when the check-box is
marked or is not marked.
That does make sense, even though it's not very useful in this case.
The task ran successfully, obtained and printed the information it was
supposed to, so it returned a 0.
I would expect a non-zero return value if (and only if) the task were
unable to check the status or otherwise failed for some reason. The
return code only reflects whether or not the tool was able to check the
status; it doesn't say anything about the status itself.
the log window they really seems to be equal, but the API
[enabledResultStr isEqualToString:enabledBaseStr] returns NO all the
time.
There is probably a newline (\n) at the end of the output string, which
isEqualToString isn't matching.
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.