I was working on scripting something for our users when they login for the first time, but for some reason even though I get an "Added sidebar item with name XXXX" message after adding a sidebar item, the resulting exit code is a 1 and not a 0 indicating success. But the item is clearly in the sidebar.
I checked doing this manually via the command line as well with the following: mysides add example file:///Volumes/example and I get the same exit code of 1.
I can confirm however that when I run a mysides remove the exit code is 0.
I was working on scripting something for our users when they login for the first time, but for some reason even though I get an "Added sidebar item with name XXXX" message after adding a sidebar item, the resulting exit code is a 1 and not a 0 indicating success. But the item is clearly in the sidebar.
I checked doing this manually via the command line as well with the following:
mysides add example file:///Volumes/example
and I get the same exit code of 1.I can confirm however that when I run a mysides remove the exit code is 0.