From a5a258d1820690b7d2bbe945dbe2f43884708269 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 1 Oct 2013 10:41:21 +0100 Subject: Fix namespace problem on root user check (mga#11332) --- bin/drakfirewall | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/drakfirewall') diff --git a/bin/drakfirewall b/bin/drakfirewall index 688fd5b..9679cf9 100755 --- a/bin/drakfirewall +++ b/bin/drakfirewall @@ -21,13 +21,12 @@ use lib qw(/usr/lib/libDrakX); # i18n: IMPORTANT: to get correct namespace (drakx-net instead of libDrakX) BEGIN { unshift @::textdomains, 'drakx-net' } use standalone; #- warning, standalone must be loaded very first, for 'explanations' - use interactive; use network::drakfirewall; $ugtk2::wm_icon = "/usr/share/mcc/themes/default/firewall-mdk.png"; -require_root_capability(); +common::require_root_capability(); my $in = 'interactive'->vnew; -- cgit v1.2.1