mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Correct argv
This commit is contained in:
parent
3687cbfdb3
commit
a021ce011b
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue