summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-29 15:06:53 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-29 15:06:53 +0200
commitbb2b374ed1cd4468f891ff7b528e2f428dd81269 (patch)
tree20b980259a33bae2e693a6a118c7d9c29e3d0a5c /src
parent79642e5d8788f071da96cd551aa7a5be7b73bbf1 (diff)
downloadkvpnc-bb2b374ed1cd4468f891ff7b528e2f428dd81269.tar.gz
kvpnc-bb2b374ed1cd4468f891ff7b528e2f428dd81269.zip
Fix checking whether the user is root
This relates to Bug 1531
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bc8e222..b61f4ac 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -134,7 +134,7 @@ int main ( int argc, char *argv[] )
}
else
{
-// if (getenv("USER") != "root")
+// if (getenv("USER") != TQString("root"))
// {
// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
// exit(0);