2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-02 07:15:18 +00:00

Turned the uid=0 check back on.

This commit is contained in:
Matt Barringer
2006-08-05 21:05:25 +00:00
parent 39adc91bbb
commit be64d6bed4

View File

@@ -118,14 +118,14 @@ bool AppArmorProfileTool::OnInit()
} }
// No sense in letting them any further if they aren't root // No sense in letting them any further if they aren't root
// if (geteuid() != 0) { if (geteuid() != 0) {
// wxMessageDialog *dlg = new wxMessageDialog(NULL, wxMessageDialog *dlg = new wxMessageDialog(NULL,
// _T("You must be root to run this program."), _T("Error"), _T("You must be root to run this program."), _T("Error"),
// wxOK|wxICON_ERROR); wxOK|wxICON_ERROR);
// dlg->ShowModal(); dlg->ShowModal();
// dlg->Destroy(); dlg->Destroy();
// return FALSE; return FALSE;
// } }
frame = new ProfileToolFrame(_("AppArmor Profile Editor" ), frame = new ProfileToolFrame(_("AppArmor Profile Editor" ),
wxPoint(50,50), wxPoint(50,50),