From bb2b374ed1cd4468f891ff7b528e2f428dd81269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 29 Sep 2013 15:06:53 +0200 Subject: Fix checking whether the user is root This relates to Bug 1531 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1