summaryrefslogtreecommitdiffstats
path: root/pts-core/options/install_test.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-02 22:05:51 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-02 22:05:51 -0500
commit822459a4b92fda1aabbd0edbd33ab4d8445e3808 (patch)
treee54fe8bc92324f56dc26e0f9ec98892fcf69c1fd /pts-core/options/install_test.php
parent3828e81cf3832f592c03a8168d0250c9c52bfd9a (diff)
downloadphoronix-test-suite-upstream-822459a4b92fda1aabbd0edbd33ab4d8445e3808.tar.gz
phoronix-test-suite-upstream-822459a4b92fda1aabbd0edbd33ab4d8445e3808.tar.xz
phoronix-test-suite-upstream-822459a4b92fda1aabbd0edbd33ab4d8445e3808.zip
pts-core: Cut down on use of pts_exit() command due to the new option
architecture, instead use returns appropriately
Diffstat (limited to 'pts-core/options/install_test.php')
-rw-r--r--pts-core/options/install_test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/pts-core/options/install_test.php b/pts-core/options/install_test.php
index d808443..69673c6 100644
--- a/pts-core/options/install_test.php
+++ b/pts-core/options/install_test.php
@@ -52,7 +52,8 @@ class install_test implements pts_option_interface
if(strpos($agreement, "PCQS") == false)
{
- pts_exit("An error occurred while connecting to the Phoronix Test Suite Server. Please try again later.");
+ echo pts_string_header("An error occurred while connecting to the Phoronix Test Suite server. Try again later.");
+ return false;
}
echo "\n\n" . $agreement;
@@ -66,7 +67,8 @@ class install_test implements pts_option_interface
}
else
{
- pts_exit(pts_string_header("In order to run PCQS you must agree to the listed terms."));
+ pts_string_header("In order to run PCQS you must agree to the listed terms.");
+ return false;
}
}