I added the output re-direct to /dev/null to absorb the success report from diskutil. However I get the same error from FS whether the output re-direct is included or not. The Console contains only reports from FS that the disk was successfully unmounted.
Any ideas why FS might be throwing an error would be much appreciated.
Hi Peter - it looks like a bug to me in the diskutil tool. It's setting the result "status" to 1 even though it succeeded. Shell tools are supposed to set the status to 0 when they succeed.
You can quiet down FastScripts by making sure that your script returns with a 0 status. An easy way to do this would just be to add an exit line to the end of your script: