* 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:
Axel Dörfler
2009-10-11 10:02:21 +00:00
parent e8e4e613b2
commit 6ba60f6392
+7 -1
View File
@@ -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);
}