Minor followup to r64197
[lhc/web/wiklou.git] / includes / proxy_check.php
index 583e8fd..61995fe 100644 (file)
@@ -1,11 +1,10 @@
 <?php
 /**
  * Command line script to check for an open proxy at a specified location
- * @package MediaWiki
  */
 
 if( php_sapi_name() != 'cli' ) {
-       die('');
+       die( 1 );
 }
 
 /**
@@ -51,5 +50,3 @@ if ( ( isset( $_REQUEST ) && array_key_exists( 'argv', $_REQUEST ) ) || count( $
 $output = escapeshellarg( $output );
 
 #`echo $output >> /home/tstarling/open/proxy.log`;
-
-?>