From 3a354aa2899f5144add507de861bac9cbc96f3d2 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Sat, 7 Sep 2002 14:45:09 +0000 Subject: [PATCH] indentation? --- .../utils/org/eclipse/cdt/utils/pty/PTY.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/pty/PTY.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/pty/PTY.java index bc1354c32ce..4858bd11cc6 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/pty/PTY.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/pty/PTY.java @@ -25,6 +25,7 @@ public class PTY { if (hasPTY) { slave= forkpty(); } + if (slave == null) { throw new IOException("Can not create pty"); }