On 12/31/2012 02:02 PM, Dwight Engen wrote: > Signed-off-by: Dwight Engen <dwight.en...@oracle.com>
Looks good, thanks. Pushed. Acked-by: Stéphane Graber <stgra...@ubuntu.com> > --- > src/lxc/console.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/lxc/console.c b/src/lxc/console.c > index 73bec78..c3f892b 100644 > --- a/src/lxc/console.c > +++ b/src/lxc/console.c > @@ -145,7 +145,7 @@ static int get_default_console(char **console) > > if (!access("/dev/tty", F_OK)) { > fd = open("/dev/tty", O_RDWR); > - if (fd > 0) { > + if (fd >= 0) { > close(fd); > *console = strdup("/dev/tty"); > goto out; > -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel