px
px copied to clipboard
Broken launch counts pane with sudo
I'm getting this in the launch counts pane (sudo sudo udo is not a thing):
kernel -> launchd -> fctupdate -> sudo sudo udo(1) -> cscmd(1)
Probably caused by a command line like this (note the space in the parameters):
/usr/bin/sudo /Library/Application Support/Fortinet/FortiClient/bin/cscmd
Either way it's incorrect and we should do correct things instead.
We now have tests for both spaces in the command called by sudo, and spaces in the path to the command called by sudo, and they all pass.