Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calls to systemsetup in macos script return error message #1030

Open
mmcalli opened this issue Jul 18, 2022 · 1 comment
Open

Calls to systemsetup in macos script return error message #1030

mmcalli opened this issue Jul 18, 2022 · 1 comment

Comments

@mmcalli
Copy link

mmcalli commented Jul 18, 2022

Calls to systemsetup in the macos setup script return error messages. Here's an example:-

[:~] $ sudo systemsetup -setrestartfreeze on
2022-07-18 12:50:15.251 systemsetup[16791:120362] ### Error:-99 File:/AppleInternal/Library/BuildRoots/b6051351-c030-11ec-96e9-3e7866fcf3a1/Library/Caches/com.apple.xbs/Sources/Admin/InternetServices.m Line:379
[:~] $ sudo systemsetup -setcomputersleep Off > /dev/null
2022-07-18 12:55:37.204 systemsetup[17214:126771] ### Error:-99 File:/AppleInternal/Library/BuildRoots/b6051351-c030-11ec-96e9-3e7866fcf3a1/Library/Caches/com.apple.xbs/Sources/Admin/InternetServices.m Line:379

Issue occurred on macOS Monterey 12.4, with an intel based chip. Commands run from a bash shell.

@tresni
Copy link

tresni commented Nov 21, 2022

2> /dev/null will suppress the messages. I haven't seen an issue with doing this and settings appear to apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants