summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff')
-rw-r--r--ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff12
1 files changed, 6 insertions, 6 deletions
diff --git a/ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff b/ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff
index 826d4e236..0729793b7 100644
--- a/ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff
+++ b/ubuntu/maverick/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff
@@ -14,16 +14,16 @@ index 7c45fcf..b933832 100644
}
else
{
--// if (getenv("USER") != "root")
+-// if (getenv("USER") != TQString("root"))
-// {
-// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-// exit(0);
-// }
-+ if (getenv("USER") != "root")
-+ {
-+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-+ exit(0);
-+ }
++ if (getenv("USER") != TQString("root"))
++ {
++ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
++ exit(0);
++ }
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();