In a number of spots in automount.sh an expect script has the following statement:
eof {
return
}
I've discovered that this ignores e.g. authentication errors thrown by commands like mount_smbfs. The fix for me to let the exit status fall through was to replace the above statement by just:
In a number of spots in
automount.sh
an expect script has the following statement:I've discovered that this ignores e.g. authentication errors thrown by commands like
mount_smbfs
. The fix for me to let the exit status fall through was to replace the above statement by just: