3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 07:15:35 +00:00

Correct argv

This commit is contained in:
snipe
2017-10-02 20:31:43 -07:00
parent 3687cbfdb3
commit a021ce011b

View File

@ -9,7 +9,7 @@ if (($username=='root') || ($username=='admin')) {
}
($argv[0]) ? $branch = $argv[0] : $branch = 'master';
($argv[1]) ? $branch = $argv[1] : $branch = 'master';
echo "Welcome to the Snipe-IT upgrader.\n\n";
echo "Please note that this script will not download the latest Snipe-IT \n";