diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-07 15:24:28 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-07 15:24:28 +0000 |
commit | 8b3d9bda98d7cb10fcbcb6a2154bdb8a0d1082d3 (patch) | |
tree | f206ceb48f2bff5b398d036ec4dc8ef2b35b8196 /perl-install | |
parent | 52f606237f774fbf666b2c1ab9d53b7d65af0288 (diff) | |
download | drakx-8b3d9bda98d7cb10fcbcb6a2154bdb8a0d1082d3.tar drakx-8b3d9bda98d7cb10fcbcb6a2154bdb8a0d1082d3.tar.gz drakx-8b3d9bda98d7cb10fcbcb6a2154bdb8a0d1082d3.tar.bz2 drakx-8b3d9bda98d7cb10fcbcb6a2154bdb8a0d1082d3.tar.xz drakx-8b3d9bda98d7cb10fcbcb6a2154bdb8a0d1082d3.zip |
net_applet: really allow users to start connection without having to
type the root password
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/tools.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index 8f479a639..8d625bf26 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -75,7 +75,7 @@ sub bg_command_as_root { sub user_run_interface_command { my ($command, $intf) = @_; - if (system("usernetctl $intf report") == 0) { + if (system("/usr/sbin/usernetctl $intf report") == 0) { run_program::raw({ detach => 1 }, $command, $intf); } else { bg_command_as_root($command, $intf); |