* Making mountvolume an application broke invocating it without any arguments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33513 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -528,7 +528,13 @@ MountVolume::ArgvReceived(int32 argc, char** argv)
|
||||
void
|
||||
MountVolume::ReadyToRun()
|
||||
{
|
||||
Quit();
|
||||
// We will only get here if we were launched without any arguments or
|
||||
// startup messages
|
||||
|
||||
extern int __libc_argc;
|
||||
extern char** __libc_argv;
|
||||
|
||||
ArgvReceived(__libc_argc, __libc_argv);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user