I'm working on a script which will update the (Google) Backup and Sync App to the current version.
I have few scripts as part of the policy:
"Quit Backup and Sync" - priority Before
"Install Google Backup and Sync" - priority After
"Open Backup and Sync" - priority After
The quit app script is as follows:
#!/bin/bash
killall Backup and Sync
When I look at the policy log I see the following:
Script exit code: 1
Script result: No matching processes were found<br/>
Error running script: return code was 1.
I suspect the app quits as part of the install script.