]> andersk Git - sql-web.git/blobdiff - batch/signup.php
signup exits rather than die'ing
[sql-web.git] / batch / signup.php
index 65a81a81f34cfad66b414381ded3602536836666..edfde59b3757369814f2ca64d2b9fdaa42c9f038 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/php -q
 <?php
 
 require_once(dirname(__FILE__).'/../mitsql.cfg.php');
@@ -29,7 +29,7 @@ if (!$Login->exists() && !empty($myUsername)) {
 if ($Login->canSignup()) {
        $User = new User($Login->getUserId());
        $User->signup($myPassword);
-       die($myPassword);
+       exit($myPassword);
 }
 
 ?>
This page took 0.035006 seconds and 4 git commands to generate.