bash script help?
Hal Burgiss
hal at burgiss.net
Mon Nov 14 16:12:22 UTC 2011
On Mon, Nov 14, 2011 at 10:51 AM, Knute Johnson <ubuntu at knutejohnson.com>wrote:
> Isn't something other than 0 true? umount should return false if it fails
> to mount and in my example it would #do something if it failed to unmount,
> yes?
>
>
This is what I think is happening ... there is no actual error of mount per
se happening, its doing what's designed to do in these specific situations,
so it returns true. Not saying that's how I would like to see it work, but
that's my guess.
I would just grep mtab and be done with it.
--
Hal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20111114/cb974bf0/attachment.html>
More information about the ubuntu-users
mailing list