projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Of course, that should be !isatty().
[oweals/opkg-lede.git]
/
libopkg
/
user.c
diff --git
a/libopkg/user.c
b/libopkg/user.c
index dda5013f6338c6fec4940b1b3b0fa7296607603d..26f6f0eaaf1a07080c1622ccdda73c0ca5915312 100644
(file)
--- a/
libopkg/user.c
+++ b/
libopkg/user.c
@@
-30,7
+30,7
@@
char *get_user_response(const char *format, ...)
vprintf(format, ap);
va_end(ap);
- if (isatty(fileno(stdin)))
+ if (
!
isatty(fileno(stdin)))
return NULL;
response = (char *)file_read_line_alloc(stdin);