summaryrefslogtreecommitdiffstats
path: root/bin/drakfirewall
diff options
context:
space:
mode:
Diffstat (limited to 'bin/drakfirewall')
-rwxr-xr-xbin/drakfirewall4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/drakfirewall b/bin/drakfirewall
index 4588047..688fd5b 100755
--- a/bin/drakfirewall
+++ b/bin/drakfirewall
@@ -27,7 +27,9 @@ use network::drakfirewall;
$ugtk2::wm_icon = "/usr/share/mcc/themes/default/firewall-mdk.png";
-my $in = 'interactive'->vnew('su');
+require_root_capability();
+
+my $in = 'interactive'->vnew;
network::drakfirewall::main($in, undef);