Adding exit function and bugfix
Took 4 minutes
This commit is contained in:
parent
186ca6c85a
commit
425f72c9cd
@ -38,7 +38,7 @@ function main()
|
||||
break;
|
||||
case 'downloadmusic':
|
||||
echo "This function has an old CLI! Opening CLI...\n-----------\n";
|
||||
$audiovideo = new AudioVideoHandler();
|
||||
new AudioVideoHandler();
|
||||
echo "CLI exited. Continue with new CLI...\n";
|
||||
break;
|
||||
case 'setsid':
|
||||
@ -49,6 +49,9 @@ function main()
|
||||
}
|
||||
echo "Function not completed yet!\n";
|
||||
break;
|
||||
case 'exit':
|
||||
echo "Have a nice dayyyy!!\n";
|
||||
exit();
|
||||
default:
|
||||
echo "Unkown command. Use help for help.\n";
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user