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:
@ -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";
|
||||
|
||||
Reference in New Issue
Block a user