aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-08-15 03:00:17 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-08-15 03:00:17 +0100
commit885bf33e611611678021bbb84339d8bb0f744e10 (patch)
tree6725781cd4cd0744a2c811f19aa6c70c4f1224de /status.php
parentAdd Websockify instructions to README (diff)
downloadgentoaster-885bf33e611611678021bbb84339d8bb0f744e10.tar.gz
gentoaster-885bf33e611611678021bbb84339d8bb0f744e10.tar.bz2
gentoaster-885bf33e611611678021bbb84339d8bb0f744e10.zip
Fix broken CLI status tool
Diffstat (limited to 'status.php')
-rw-r--r--status.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/status.php b/status.php
index 2a49fd8..f7b33e5 100644
--- a/status.php
+++ b/status.php
@@ -27,6 +27,7 @@
$stmt->store_result();
if ($stmt->num_rows == 1) {
$stmt->bind_result($handle);
+ $stmt->fetch();
$stmt->close();
$client = new GearmanClient();
$client->addServer();