home: hub: mkinitfs

Download patch

ref: a6f2235a920a71cfc36ee4681ef804354326476c
parent: 5a84d57404bdc77ec86eb0af2c884b6176626d0b
author: Natanael Copa <ncopa@alpinelinux.org>
date: Tue Jan 10 14:37:29 CST 2017

nlplug-findfs: dont return error on successful read pass

We could sucessfully read the password but fail to reset the tty. If
that happens, then just warn, but return success.

--- a/nlplug-findfs.c
+++ b/nlplug-findfs.c
@@ -535,7 +535,6 @@
 	if (isatty(STDIN_FILENO)) {
 		if (tcsetattr(STDIN_FILENO, TCSANOW, &old_flags) < 0) {
 			warn("tcsetattr");
-			return r;
 		}
 	}// else {
 	//	fprintf(stderr, "The program isn't executed in a TTY, the echo-reenabling has been skipped.\n");