summaryrefslogtreecommitdiffstats
path: root/bin/drakvpn
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-01 10:41:21 +0100
committerColin Guthrie <colin@mageia.org>2013-10-01 10:41:21 +0100
commita5a258d1820690b7d2bbe945dbe2f43884708269 (patch)
tree366b3197aa6dfe334e34a43a6fc349aebd6e028f /bin/drakvpn
parent100ca1129de9b79b7f889ae5f083091c51800985 (diff)
downloaddrakx-net-a5a258d1820690b7d2bbe945dbe2f43884708269.tar
drakx-net-a5a258d1820690b7d2bbe945dbe2f43884708269.tar.gz
drakx-net-a5a258d1820690b7d2bbe945dbe2f43884708269.tar.bz2
drakx-net-a5a258d1820690b7d2bbe945dbe2f43884708269.tar.xz
drakx-net-a5a258d1820690b7d2bbe945dbe2f43884708269.zip
Fix namespace problem on root user check (mga#11332)
Diffstat (limited to 'bin/drakvpn')
-rwxr-xr-xbin/drakvpn2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/drakvpn b/bin/drakvpn
index 595787c..d50ce2f 100755
--- a/bin/drakvpn
+++ b/bin/drakvpn
@@ -13,7 +13,7 @@ use standalone;
use interactive;
use network::drakvpn;
-require_root_capability();
+common::require_root_capability();
my $in = 'interactive'->vnew;
network::drakvpn::create_connection($in);