Browse Source

Core update (command line)

markseu 9 năm trước cách đây
mục cha
commit
e33aba68d2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      yellow.php

+ 1 - 1
yellow.php

@@ -12,6 +12,6 @@ if(PHP_SAPI != "cli")
 	$yellow = new Yellow();
 	$yellow->plugins->load();
 	$statusCode = $yellow->command("commandline", $argv[1], $argv[2], $argv[3], $argv[4], $argv[5], $argv[6]);
-	exit($statusCode<=200 ? 0 : 1);
+	exit($statusCode<400 ? 0 : 1);
 }
 ?>