Code review comment for lp:~mterry/unity8/unlock-via-dbus

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, you probably need "su -l" to read /etc/profile.d?

> We need to go through sudo always to get the proper environment)

Not always, that won't work if you are already the "phablet" user. So the "if" condition is right IMHO, you might just need su -l, or sudo to read profile.

« Back to merge proposal