[PC-BSD Commits] r7441 - pcbsd/current/SysInstaller
svn at pcbsd.org
svn at pcbsd.org
Wed Aug 25 11:59:08 PDT 2010
Author: kris
Date: 2010-08-25 11:59:08 -0700 (Wed, 25 Aug 2010)
New Revision: 7441
Modified:
pcbsd/current/SysInstaller/backend.cpp
Log:
Bugfix for testing in usermode, don't try to query disks, caused weird hanging in sysctl kern.disks
Modified: pcbsd/current/SysInstaller/backend.cpp
===================================================================
--- pcbsd/current/SysInstaller/backend.cpp 2010-08-25 18:38:35 UTC (rev 7440)
+++ pcbsd/current/SysInstaller/backend.cpp 2010-08-25 18:59:08 UTC (rev 7441)
@@ -63,6 +63,9 @@
{
QString line;
QStringList list;
+
+ if ( getuid() != 0 )
+ return list;
Process p(QStringList() << "update-part-list");
if(p.waitForFinished()) {
More information about the Commits
mailing list