diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-09-29 15:06:53 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-09-29 15:06:53 +0200 |
commit | bb2b374ed1cd4468f891ff7b528e2f428dd81269 (patch) | |
tree | 20b980259a33bae2e693a6a118c7d9c29e3d0a5c /src/main.cpp | |
parent | 79642e5d8788f071da96cd551aa7a5be7b73bbf1 (diff) | |
download | kvpnc-bb2b374ed1cd4468f891ff7b528e2f428dd81269.tar.gz kvpnc-bb2b374ed1cd4468f891ff7b528e2f428dd81269.zip |
Fix checking whether the user is root
This relates to Bug 1531
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
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); |