diff options
author | Colin Guthrie <colin@mageia.org> | 2013-11-21 18:52:13 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-11-21 19:32:31 +0000 |
commit | 489c2506cd2fd51efa7b167248a378d07923abfe (patch) | |
tree | ea65effe598be66d9e281d8443ad62adbf9715cc /bin/net_applet | |
parent | 8945da36015b735225f42feff9fb4c0addfa39ed (diff) | |
download | drakx-net-489c2506cd2fd51efa7b167248a378d07923abfe.tar drakx-net-489c2506cd2fd51efa7b167248a378d07923abfe.tar.gz drakx-net-489c2506cd2fd51efa7b167248a378d07923abfe.tar.bz2 drakx-net-489c2506cd2fd51efa7b167248a378d07923abfe.tar.xz drakx-net-489c2506cd2fd51efa7b167248a378d07923abfe.zip |
polkit: Fix support for several third party net management commands (mga#11286)
Diffstat (limited to 'bin/net_applet')
-rwxr-xr-x | bin/net_applet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet index a722c28..7f36960 100755 --- a/bin/net_applet +++ b/bin/net_applet @@ -192,7 +192,7 @@ my %actions = ( launch => sub { require run_program; $net->{PROFILE} = $_[0]; - run_program::raw({ detach => 1 }, common::wrap_command_for_root('/sbin/set-netprofile', $net->{PROFILE})); + run_program::raw({ detach => 1 }, (if_($>, '/usr/bin/pkexec'), '/usr/sbin/set-netprofile', $net->{PROFILE})); } }, 'chooseVPN' => { |