From ef29f029690b3717a15adac4397047d9836e647c Mon Sep 17 00:00:00 2001 From: paulr Date: Thu, 20 Jan 2011 14:04:56 +1100 Subject: [PATCH] errr, no idea? --- authserver/usercmd.php | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/authserver/usercmd.php b/authserver/usercmd.php index 3525cbe..d24157e 100644 --- a/authserver/usercmd.php +++ b/authserver/usercmd.php @@ -107,7 +107,12 @@ switch($argv[1]) { break; case "add": $return = $myAC->addUser($argv[2]); - echo "Created user, ".$argv[2]." returned $return\n"; + if($return) { + echo "Created user, ".$argv[2]."\n"; + } else { + echo "Failed to create user, ".$argv[2]."\n"; + } + break; case "delete": $res = $myAC->deleteUser($argv[2]); -- 1.7.0.4