Skip to content

Commit be83d8f

Browse files
committed
Script: Replace exit call by check on SAPI=cli in gitlog script
1 parent 9676312 commit be83d8f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/scripts/packaging/gitlog.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
* @usage php gitlog.php [-t|some-commit|-max20171001]
2121
* @see https://github.com/ywarnier/git
2222
*/
23-
exit;
2423
if (PHP_SAPI != 'cli') {
2524
die('This script can only be launched from the command line');
2625
}

0 commit comments

Comments
 (0)