Displaying 1 result from an estimated 1 matches for "nonsenseshare".
2005 Dec 17
1
Using smbmount in a script - no return value
I'm trying to periodically mount an XP share on my linux box, and I've
noticed that smbmount doesn't return a value so I can't test for success
in my shell script:
#!/bin/bash
smbmount //NonsenseShare /bad/mnt/point || echo "error with smbmount"
In this case smbmount silently fails.
I searched the archives and found a couple of messages about smbmount
demonizing before leaving a return value. Is there a good way to test
for the success or failure of smbmount?
Mat