gniemetz / automount

Mount shares at login
MIT License
40 stars 6 forks source link

Fix expect exit status by not returning from eof #12

Open gmta opened 6 years ago

gmta commented 6 years ago

The "eof { return }" statement caused the exit status from the mount application to be always set to zero. By replacing this with a simple "eof" statement, the exit status is properly propagated.