mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 12:36:18 +00:00
47c07c60ba
* Latest 4.3 changes poorly merged * Build fixes * Squash? * Fix ppsspp on switch * Fix video recording, add base stuff for nvv4l2 decoder/encoder, but leave disabled for now * Clean up left over files * Switch: Dont build xpadneo driver, but install configs * FFMpeg: Add back L4T decoder Patches
13 lines
407 B
Diff
13 lines
407 B
Diff
diff -Naur a/loginutils/passwd.c b/loginutils/passwd.c
|
|
--- a/loginutils/passwd.c 2017-07-06 08:14:57.000000000 -0700
|
|
+++ b/loginutils/passwd.c 2017-09-11 17:06:07.572805135 -0700
|
|
@@ -220,7 +220,7 @@
|
|
if (rc > 0)
|
|
/* password in /etc/shadow was updated */
|
|
newp = (char*) "x";
|
|
- if (rc >= 0)
|
|
+ if (rc == 0)
|
|
/* 0 = /etc/shadow missing (not an error), >0 = passwd changed in /etc/shadow */
|
|
#endif
|
|
{
|