[yast-devel] Re: [yast-commit] r66461 - in /trunk/pam: VERSION package/yast2-pam.changes src/Autologin.ycp
19 Oct
2011
19 Oct
'11
05:31
Dne 17.10.2011 10:00, jsuchome@svn2.opensuse.org napsal(a):
+ available = true; + user = (string) SCR::Read (.sysconfig.displaymanager.DISPLAYMANAGER_AUTOLOGIN); + pw_less = (string) SCR::Read (.sysconfig.displaymanager.DISPLAYMANAGER_PASSWORD_LESS_LOGIN) == "yes"; + + if (user == nil || user == "") + user = "";
Test for nil is sufficient, replacing empty string by empty string is useless. -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
4582
Age (days ago)
4582
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ladislav Slezak