diff --git a/xCAT-UI/lib/functions.php b/xCAT-UI/lib/functions.php index cefc59f99..0c4a33688 100644 --- a/xCAT-UI/lib/functions.php +++ b/xCAT-UI/lib/functions.php @@ -51,11 +51,6 @@ function docmd($cmd, $nr, $args){ $socket->setBlocking(true); // Set socket as blocking stream $socket->write($request->asXML()); // Send xCAT request $xml = $socket->readAll(); // Get xCAT response - $status = $socket->getStatus(); - while ($status['unread_bytes']) { - // Do nothing - $status = $socket->getStatus(); - } $socket->disconnect(); // Close socket // submit_request() was the old way of sending the xCAT request