diff options
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' => { |