wrong return value when no volume to mount
Brought to you by:
jengelh
I'm using pam_mount 0.29 here on Gentoo to mount my encrypted home-directory. I only have one volume-entry in my pam_mount.conf.xml for all users, so if I log in as root, pam_mount correctly reports "no volumes to mount" in debug-mode. But after this I always get "Permission denied". Some investigations sowed, that pam_mount seems to return a wrong value (-9). Attached you find a patch, that sets the return-value correctly, I hope.
Kind regards
mize
Fix wrong return-value when no volume to mount
Logged In: YES
user_id=1287009
Originator: NO
Fixed in r390 / for next tarball.